Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009783/0.0009783, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9722/0.9722, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.056/2.056, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.801e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001137/0.001155, allocations: 0.6367 MB / 0.8788 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.001979, allocations: 0.8654 MB / 0.8796 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.002009, allocations: 0 / 0.8796 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.002033, allocations: 3.938 kB / 0.8796 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.51e-05/0.002088, allocations: 5.078 kB / 0.8796 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.002212, allocations: 15.92 kB / 0.8797 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.68e-05/0.002278, allocations: 28.69 kB / 0.8797 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.814e-05/0.002357, allocations: 11.92 kB / 0.8797 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.002426, allocations: 15.94 kB / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.002462, allocations: 11.98 kB / 0.8797 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.00248, allocations: 1.781 kB / 0.8797 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.002488, allocations: 4 kB / 0.8797 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.002502, allocations: 3.984 kB / 0.8797 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.002521, allocations: 11.98 kB / 0.8797 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.513e-05/0.002586, allocations: 15.92 kB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002588, allocations: 0.9688 kB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002588, allocations: 0 / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.002592, allocations: 0 / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003191/0.002911, allocations: 357.8 kB / 0.8801 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.002942, allocations: 8.031 kB / 0.8801 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.002971, allocations: 10.02 kB / 0.8801 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.503e-05/0.003046, allocations: 112.6 kB / 0.8802 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.003062, allocations: 384 / 0.8802 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.00307, allocations: 5.438 kB / 0.8802 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.003177, allocations: 58.88 kB / 0.8803 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-06/0.003182, allocations: 192 / 0.8803 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.003189, allocations: 5.344 kB / 0.8803 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.003195, allocations: 384 / 0.8803 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.301e-05/0.003228, allocations: 13.59 kB / 0.8803 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.003462, allocations: 243.8 kB / 0.8805 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.783e-05/0.003509, allocations: 39.06 kB / 0.8806 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.003529, allocations: 15.69 kB / 0.8806 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.003539, allocations: 0.5 kB / 0.8806 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.003558, allocations: 39.25 kB / 0.8806 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.003559, allocations: 0 / 0.8806 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000134/0.003693, allocations: 45.64 kB / 0.8807 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.003723, allocations: 51.41 kB / 0.8807 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.003792, allocations: 167.3 kB / 0.8809 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.003802, allocations: 25.7 kB / 0.8809 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.003845, allocations: 130.8 kB / 0.881 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.00386, allocations: 5.047 kB / 0.881 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.003887, allocations: 27.36 kB / 0.8811 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.003998, allocations: 496.1 kB / 0.8815 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.004013, allocations: 5.594 kB / 0.8815 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.004023, allocations: 0 / 0.8815 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.004052, allocations: 19.69 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.004053, allocations: 2.469 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.49e-05/0.004108, allocations: 37.88 kB / 0.8816 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.00412, allocations: 8 kB / 0.8816 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.004124, allocations: 7.875 kB / 0.8816 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.004136, allocations: 3.984 kB / 0.8816 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.004195, allocations: 7.984 kB / 0.8816 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.004199, allocations: 6 kB / 0.8816 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.004217, allocations: 4 kB / 0.8816 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.004221, allocations: 0 / 0.8816 GB, free: 2.926 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.004278, allocations: 156.6 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.004292, allocations: 8.672 kB / 0.8818 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.004311, allocations: 11.23 kB / 0.8818 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.004313, allocations: 1.188 kB / 0.8818 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.004315, allocations: 0 / 0.8818 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.004317, allocations: 0 / 0.8818 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.369e-05/0.004401, allocations: 120.8 kB / 0.8819 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004402, allocations: 4 kB / 0.8819 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.004422, allocations: 7.984 kB / 0.8819 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004423, allocations: 0 / 0.8819 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.004428, allocations: 0 / 0.8819 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.00443, allocations: 3.938 kB / 0.8819 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00443, allocations: 0 / 0.8819 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.532e-05/0.004526, allocations: 191.9 kB / 0.8821 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.004533, allocations: 4 kB / 0.8821 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.004543, allocations: 0 / 0.8821 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.208e-05/0.004575, allocations: 7.938 kB / 0.8821 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.004613, allocations: 16.02 kB / 0.8821 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.004616, allocations: 0 / 0.8821 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.004651, allocations: 127.2 kB / 0.8823 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004651, allocations: 0 / 0.8823 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001333/0.004785, allocations: 4 kB / 0.8823 GB, free: 2.211 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.669e-05/0.004851, allocations: 95.25 kB / 0.8824 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.108e-05/0.004922, allocations: 19.69 kB / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.004923, allocations: 0 / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.004944, allocations: 23.67 kB / 0.8824 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.005101, allocations: 4 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.005312, allocations: 110.4 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.258e-05/0.005345, allocations: 59.34 kB / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.005362, allocations: 0 / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.005389, allocations: 20.44 kB / 0.8826 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of SimCode: time 6.52e-07/0.00539, allocations: 4.062 kB / 0.8826 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of Templates: time 0.002133/0.007523, allocations: 0.6553 MB / 0.8832 GB, free: 1.172 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.457631777971983]