Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 111.1 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 191.8 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002535/0.002535, allocations: 63.91 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.983/0.9855, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004792/0.9904, allocations: 2.614 MB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.9924, allocations: 0.9079 MB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.9929, allocations: 11.94 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.9932, allocations: 63.39 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.9935, allocations: 67.34 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.9941, allocations: 231.7 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.9948, allocations: 455.7 kB / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.9952, allocations: 225.1 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.9954, allocations: 143.4 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.9956, allocations: 151.2 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.525e-05/0.9957, allocations: 48 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.9958, allocations: 52 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.9959, allocations: 95.7 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.9961, allocations: 191 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006851/0.9968, allocations: 0.6151 MB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.9968, allocations: 3.938 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.176e-06/0.9968, allocations: 0 / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.546e-05/0.9969, allocations: 0 / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001217/0.9981, allocations: 0.6525 MB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.9981, allocations: 8.031 kB / 1.215 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.9983, allocations: 40.47 kB / 1.215 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.9988, allocations: 391.2 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.9989, allocations: 20.94 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.9989, allocations: 28.38 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.9996, allocations: 329.7 kB / 1.216 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.9996, allocations: 0 / 1.216 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.9996, allocations: 8 kB / 1.216 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.9996, allocations: 8 kB / 1.216 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/1, allocations: 246.1 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/1.002, allocations: 1.155 MB / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/1.002, allocations: 229.6 kB / 1.217 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/1.002, allocations: 100.8 kB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/1.003, allocations: 4 kB / 1.217 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.003, allocations: 30.56 kB / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/1.003, allocations: 0 / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0006954/1.003, allocations: 301.1 kB / 1.218 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/1.003, allocations: 81.11 kB / 1.218 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/1.004, allocations: 332.5 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/1.004, allocations: 25.7 kB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/1.004, allocations: 196.1 kB / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/1.004, allocations: 55.19 kB / 1.218 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/1.004, allocations: 41.7 kB / 1.218 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.004, allocations: 346.7 kB / 1.219 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/1.004, allocations: 92.77 kB / 1.219 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/1.005, allocations: 116.8 kB / 1.219 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/1.005, allocations: 192.2 kB / 1.219 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.005, allocations: 7.938 kB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005049/1.006, allocations: 251.1 kB / 1.219 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.006, allocations: 8 kB / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.006, allocations: 0 / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.006, allocations: 4 kB / 1.219 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/1.006, allocations: 35.92 kB / 1.219 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/1.006, allocations: 0 / 1.219 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/1.006, allocations: 35.73 kB / 1.219 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/1.006, allocations: 4 kB / 1.219 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002552/1.006, allocations: 200.1 kB / 1.219 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001715/1.006, allocations: 95.41 kB / 1.22 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002782/1.007, allocations: 172.2 kB / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/1.007, allocations: 0 / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003878/1.007, allocations: 229.1 kB / 1.22 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/1.007, allocations: 4 kB / 1.22 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/1.007, allocations: 0 / 1.22 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/1.007, allocations: 4 kB / 1.22 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/1.007, allocations: 20 kB / 1.22 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/1.007, allocations: 11.92 kB / 1.22 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/1.007, allocations: 19.98 kB / 1.22 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/1.007, allocations: 4 kB / 1.22 GB, free: 1.449 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001763/1.008, allocations: 188.2 kB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/1.008, allocations: 31.62 kB / 1.22 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/1.008, allocations: 35.28 kB / 1.22 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.008, allocations: 3.984 kB / 1.22 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.008, allocations: 0 / 1.22 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/1.008, allocations: 132.6 kB / 1.22 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/1.008, allocations: 8 kB / 1.22 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/1.008, allocations: 11.98 kB / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/1.008, allocations: 11.98 kB / 1.22 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005905/1.009, allocations: 300.8 kB / 1.221 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007322/1.009, allocations: 0.517 MB / 1.221 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001948/1.01, allocations: 98.38 kB / 1.221 GB, free: 88 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002685/1.01, allocations: 231.1 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of Backend: time 1.683e-06/1.01, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008196/1.011, allocations: 292.7 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001406/1.012, allocations: 1.012 MB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of Templates: time 0.009756/1.022, allocations: 4.407 MB / 1.227 GB, free: 10.14 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches