Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.000944/0.000944, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002131, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007654/0.0007654, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009509/0.001716, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.045/1.045, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1232/1.168, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.625/2.625, allocations: 446.7 MB / 0.6745 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3432/2.968, allocations: 145.9 MB / 0.817 GB, free: 4.184 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.32e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001984/0.002017, allocations: 0.7165 MB / 0.819 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003077, allocations: 0.8781 MB / 0.8198 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.003132, allocations: 0 / 0.8198 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.003168, allocations: 3.938 kB / 0.8198 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.003238, allocations: 0 / 0.8198 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.003357, allocations: 39.83 kB / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.003472, allocations: 43.86 kB / 0.8199 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.003595, allocations: 11.98 kB / 0.8199 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.003729, allocations: 27.97 kB / 0.8199 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.003799, allocations: 19.92 kB / 0.82 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.003833, allocations: 4 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.003846, allocations: 4 kB / 0.82 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.003865, allocations: 4 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.003893, allocations: 11.94 kB / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.004016, allocations: 31.84 kB / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.179e-05/0.004038, allocations: 4 kB / 0.82 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.663e-06/0.004039, allocations: 4 kB / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.004057, allocations: 0 / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005176/0.004575, allocations: 252.5 kB / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.004629, allocations: 8.031 kB / 0.8203 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.004679, allocations: 12.86 kB / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.004797, allocations: 105.8 kB / 0.8204 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.004822, allocations: 8.375 kB / 0.8204 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.004832, allocations: 384 / 0.8204 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.004991, allocations: 66.91 kB / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.005, allocations: 4.188 kB / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.00501, allocations: 4.375 kB / 0.8205 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.005016, allocations: 4.375 kB / 0.8205 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.823e-05/0.005055, allocations: 11.94 kB / 0.8205 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.005361, allocations: 168.1 kB / 0.8206 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.852e-05/0.00545, allocations: 38.62 kB / 0.8207 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.005471, allocations: 12.84 kB / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.005486, allocations: 0 / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.005512, allocations: 30.56 kB / 0.8207 GB, free: 280 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.005513, allocations: 8 kB / 0.8207 GB, free: 272 kB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0001481/0.005661, allocations: 53.56 kB / 0.8208 GB, free: 212 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.005696, allocations: 55.41 kB / 0.8208 GB, free: 144 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.005768, allocations: 110.7 kB / 0.8209 GB, free: 20 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.005811, allocations: 25.7 kB / 0.821 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.005846, allocations: 80.14 kB / 0.821 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.005868, allocations: 11.91 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.005909, allocations: 25.69 kB / 0.8211 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.006014, allocations: 310.8 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.006035, allocations: 11.92 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.006049, allocations: 8 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.006088, allocations: 20.78 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00609, allocations: 0 / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.14e-05/0.006161, allocations: 45.97 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.006179, allocations: 4 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.006186, allocations: 0 / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.006208, allocations: 3.984 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.006337, allocations: 16.22 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.006342, allocations: 0 / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.006371, allocations: 15.98 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.006378, allocations: 0 / 0.8215 GB, free: 15.42 MB / 0.8073 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001986/0.006577, allocations: 113.8 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.006593, allocations: 0 / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.006622, allocations: 12 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.006626, allocations: 3.938 kB / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.006627, allocations: 0 / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.006633, allocations: 7.922 kB / 0.8216 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.006735, allocations: 69.89 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.006737, allocations: 0 / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.006793, allocations: 15.98 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.00681, allocations: 15.88 kB / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.006813, allocations: 0 / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.006821, allocations: 0 / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.006827, allocations: 3.938 kB / 0.8217 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.006829, allocations: 0 / 0.8217 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.00696, allocations: 139.6 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.006973, allocations: 3.984 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.571e-05/0.007019, allocations: 8 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.007076, allocations: 15.92 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.007079, allocations: 4 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.859e-05/0.007098, allocations: 20.77 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007098, allocations: 0 / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001388/0.007237, allocations: 8 kB / 0.8219 GB, free: 14.94 MB / 0.8073 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 0.0001154/0.007352, allocations: 72.42 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.007446, allocations: 24.84 kB / 0.822 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.007457, allocations: 11.94 kB / 0.822 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.007482, allocations: 12.86 kB / 0.822 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.007671, allocations: 15.98 kB / 0.822 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.008184, allocations: 136.5 kB / 0.8222 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.008222, allocations: 55.36 kB / 0.8222 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.008257, allocations: 4 kB / 0.8222 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.008322, allocations: 59.36 kB / 0.8223 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of SimCode: time 1.383e-06/0.008323, allocations: 4 kB / 0.8223 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of Templates: time 0.003268/0.01159, allocations: 1.002 MB / 0.8233 GB, free: 13.5 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.ref.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.7166633773595095]