Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001404/0.001404, allocations: 103.8 kB / 16.4 MB, free: 6.418 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.001494/0.001494, allocations: 189.7 kB / 17.34 MB, free: 5.691 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9602/0.9615, allocations: 151.6 MB / 1.167 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00377/0.9653, allocations: 2.614 MB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.9668, allocations: 0.9041 MB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.967, allocations: 11.94 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.9672, allocations: 63.39 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.9674, allocations: 71.33 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.9678, allocations: 241.4 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.9683, allocations: 451.7 kB / 1.172 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.9686, allocations: 222 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.9688, allocations: 151.4 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.9689, allocations: 151.1 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.969, allocations: 48 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.864e-05/0.9691, allocations: 52 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.9691, allocations: 91.7 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.9693, allocations: 183 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005846/0.9699, allocations: 0.6198 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9699, allocations: 4 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9699, allocations: 3.938 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.9699, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 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.0009111/0.9708, allocations: 0.6582 MB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.9709, allocations: 11.98 kB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.971, allocations: 44.7 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.9715, allocations: 403.3 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.9715, allocations: 20.94 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.9716, allocations: 32.36 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.9721, allocations: 329.7 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.9721, allocations: 0 / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.9722, allocations: 12 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.9722, allocations: 8 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.9726, allocations: 226.2 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.9741, allocations: 1.163 MB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.9745, allocations: 234.8 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.9747, allocations: 96.83 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.9748, allocations: 0 / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.9748, allocations: 42.56 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.9748, allocations: 0 / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0006452/0.9754, allocations: 306.9 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.9755, allocations: 77.11 kB / 1.177 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.9758, allocations: 332.5 kB / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.9759, allocations: 29.7 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.976, allocations: 200.3 kB / 1.177 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.9761, allocations: 55.55 kB / 1.177 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.259e-05/0.9761, allocations: 41.7 kB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9763, allocations: 338.8 kB / 1.177 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.9765, allocations: 88.83 kB / 1.178 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.9767, allocations: 121.6 kB / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.977, allocations: 184.9 kB / 1.178 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.977, allocations: 0 / 1.178 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000441/0.9775, allocations: 265.3 kB / 1.178 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9775, allocations: 4 kB / 1.178 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.9775, allocations: 0 / 1.178 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.9775, allocations: 4 kB / 1.178 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.9777, allocations: 31.92 kB / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9777, allocations: 0 / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.9779, allocations: 35.77 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.9779, allocations: 7.938 kB / 1.178 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002308/0.9781, allocations: 196.2 kB / 1.178 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001424/0.9783, allocations: 99.41 kB / 1.178 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002541/0.9785, allocations: 169.1 kB / 1.179 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.041e-06/0.9785, allocations: 3.938 kB / 1.179 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003501/0.9789, allocations: 233.3 kB / 1.179 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.9789, allocations: 8 kB / 1.179 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.9789, allocations: 0 / 1.179 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-06/0.9789, allocations: 0 / 1.179 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.9791, allocations: 27.98 kB / 1.179 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.9791, allocations: 0 / 1.179 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.9792, allocations: 19.92 kB / 1.179 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.9792, allocations: 7.938 kB / 1.179 GB, free: 7.676 MB / 0.9044 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.0001209/0.9793, allocations: 192.3 kB / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.9794, allocations: 31.77 kB / 1.179 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.9795, allocations: 39.27 kB / 1.179 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.9795, allocations: 4 kB / 1.179 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9795, allocations: 0 / 1.179 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.9795, allocations: 3.938 kB / 1.179 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.9799, allocations: 401.4 kB / 1.18 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9799, allocations: 0 / 1.18 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.9801, allocations: 31.92 kB / 1.18 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9801, allocations: 4 kB / 1.18 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.9801, allocations: 7.984 kB / 1.18 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9801, allocations: 0 / 1.18 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9801, allocations: 0 / 1.18 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006773/0.9808, allocations: 439.1 kB / 1.18 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.981, allocations: 136.9 kB / 1.18 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.981, allocations: 8.062 kB / 1.18 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.9812, allocations: 11.98 kB / 1.18 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.9812, allocations: 15.92 kB / 1.18 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.9812, allocations: 4 kB / 1.18 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002308/0.9815, allocations: 239.1 kB / 1.18 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9815, allocations: 0 / 1.18 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000389/0.9819, allocations: 87.73 kB / 1.18 GB, free: 5.965 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.00012/0.982, allocations: 107.2 kB / 1.181 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005703/0.9826, allocations: 296 kB / 1.181 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9826, allocations: 0 / 1.181 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.9828, allocations: 91.91 kB / 1.181 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.9833, allocations: 89.36 kB / 1.181 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.9844, allocations: 0.5868 MB / 1.182 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.9847, allocations: 0.7753 MB / 1.182 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.822e-05/0.9848, allocations: 27.44 kB / 1.182 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.9848, allocations: 0 / 1.182 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of Templates: time 0.005761/0.9906, allocations: 4.001 MB / 1.186 GB, free: 15.95 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches