Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.00138/0.00138, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001923/0.001923, allocations: 208.2 kB / 23 MB, free: 4.977 MB / 14.72 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.617/1.617, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.357/3.357, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003722/0.003722, allocations: 65.59 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4385, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004887/0.4434, allocations: 2.495 MB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.4455, allocations: 0.904 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.4459, allocations: 19.88 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.4462, allocations: 63.39 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.4465, allocations: 59.41 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007093/0.4472, allocations: 241.1 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006838/0.4479, allocations: 455.7 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.4482, allocations: 157.7 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.4485, allocations: 151.3 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.4487, allocations: 147.2 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-05/0.4488, allocations: 52 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.4489, allocations: 52 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.513e-05/0.449, allocations: 91.64 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.4491, allocations: 139.3 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008245/0.4499, allocations: 0.6188 MB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.45, allocations: 0 / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.45, allocations: 0 / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.45, allocations: 0 / 1.333 GB, free: 11.34 MB / 1.029 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.001251/0.4512, allocations: 0.583 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.4513, allocations: 12.03 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.4514, allocations: 44.66 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006638/0.4521, allocations: 334.3 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.4521, allocations: 21.03 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.4521, allocations: 24.38 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.4529, allocations: 395.3 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4529, allocations: 0 / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.4529, allocations: 12 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.4529, allocations: 4 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.4534, allocations: 242.5 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.4551, allocations: 0.9654 MB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.4556, allocations: 228.1 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.4558, allocations: 88.83 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.4559, allocations: 4 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.4559, allocations: 46.42 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.4559, allocations: 0 / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007077/0.4566, allocations: 285.4 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.4567, allocations: 114.8 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.457, allocations: 276.2 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.4571, allocations: 29.7 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.4573, allocations: 200.6 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.4574, allocations: 59.52 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.315e-05/0.4575, allocations: 41.7 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.4577, allocations: 338.8 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.4579, allocations: 88.78 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.4582, allocations: 179.6 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.4586, allocations: 188.3 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4586, allocations: 0 / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004894/0.4591, allocations: 247.1 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4591, allocations: 7.984 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4591, allocations: 8.062 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4591, allocations: 0 / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.4593, allocations: 35.92 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4593, allocations: 4 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.4595, allocations: 19.88 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.4595, allocations: 8 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002749/0.4597, allocations: 196 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002012/0.4599, allocations: 160.5 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002946/0.4602, allocations: 172.2 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.4602, allocations: 0 / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003999/0.4606, allocations: 221.4 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.4607, allocations: 4 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.4607, allocations: 0 / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.4607, allocations: 4 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4608, allocations: 31.92 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.4608, allocations: 0 / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.4609, allocations: 27.94 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.4609, allocations: 11.94 kB / 1.338 GB, free: 5.172 MB / 1.029 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.0001465/0.4611, allocations: 192 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.4611, allocations: 27.81 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.4613, allocations: 38.12 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4613, allocations: 3.938 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4613, allocations: 0 / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.4614, allocations: 47.83 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.4614, allocations: 11.92 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.4616, allocations: 12 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.4616, allocations: 15.97 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006055/0.4623, allocations: 306.6 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008259/0.4631, allocations: 0.5022 MB / 1.339 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000267/0.4633, allocations: 95.98 kB / 1.339 GB, free: 3.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002582/0.4636, allocations: 203.1 kB / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of Backend: time 6.31e-07/0.4636, allocations: 0 / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007804/0.4644, allocations: 273.1 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of SimCode: time 0.001465/0.4658, allocations: 0.9834 MB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of Templates: time 0.00977/0.4756, allocations: 4.614 MB / 1.345 GB, free: 13.86 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.631386766006472]