Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 185 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.2 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 92.28 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.000507, allocations: 8.625 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3699, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.5736, allocations: 155.1 MB / 1.374 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5739, allocations: 83.95 kB / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01597/0.5899, allocations: 6.944 MB / 1.381 GB, free: 0 / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5899, allocations: 0 / 1.381 GB, free: 0 / 0.8698 GB Notification: Performance of Transformations before backend: time 5.301e-05/0.59, allocations: 8.047 kB / 1.381 GB, free: 15.99 MB / 0.8855 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.0008654/0.5909, allocations: 0.5997 MB / 1.382 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5909, allocations: 12.03 kB / 1.382 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.591, allocations: 43.48 kB / 1.382 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.5915, allocations: 378.8 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.5916, allocations: 20.56 kB / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.5916, allocations: 28 kB / 1.382 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.5922, allocations: 325.4 kB / 1.383 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.5923, allocations: 3.938 kB / 1.383 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.5923, allocations: 12 kB / 1.383 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.5923, allocations: 8 kB / 1.383 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.5928, allocations: 246.1 kB / 1.383 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.5944, allocations: 1.167 MB / 1.384 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.5949, allocations: 259 kB / 1.384 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.595, allocations: 7.938 kB / 1.384 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.595, allocations: 38.52 kB / 1.384 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.153e-06/0.595, allocations: 0 / 1.384 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0006702/0.5957, allocations: 317.4 kB / 1.385 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.5958, allocations: 81.09 kB / 1.385 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.5961, allocations: 291.7 kB / 1.385 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.5962, allocations: 29.7 kB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.5963, allocations: 196.1 kB / 1.385 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.5963, allocations: 55.17 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.5964, allocations: 8 kB / 1.385 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5965, allocations: 338.8 kB / 1.385 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.5967, allocations: 83.97 kB / 1.386 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.5969, allocations: 120.9 kB / 1.386 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.5971, allocations: 93.7 kB / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5971, allocations: 0 / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004655/0.5976, allocations: 269.1 kB / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.5977, allocations: 276.5 kB / 1.386 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.5977, allocations: 0 / 1.386 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5977, allocations: 0 / 1.386 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.5979, allocations: 35.92 kB / 1.386 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5979, allocations: 7.891 kB / 1.386 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.5981, allocations: 27.83 kB / 1.386 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.5981, allocations: 8 kB / 1.386 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.071e-06/0.5981, allocations: 4 kB / 1.386 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003002/0.5984, allocations: 173.1 kB / 1.387 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.5984, allocations: 0 / 1.387 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/0.5984, allocations: 4 kB / 1.387 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.5986, allocations: 31.92 kB / 1.387 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.5986, allocations: 4 kB / 1.387 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.5987, allocations: 15.91 kB / 1.387 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.5987, allocations: 15.98 kB / 1.387 GB, free: 10.17 MB / 0.8855 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 (actSet.y,actAct.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.5989, allocations: 244.8 kB / 1.387 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.599, allocations: 27.62 kB / 1.387 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/0.5991, allocations: 39.27 kB / 1.387 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5991, allocations: 4 kB / 1.387 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5991, allocations: 0 / 1.387 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5991, allocations: 3.938 kB / 1.387 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.5996, allocations: 417.2 kB / 1.387 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5996, allocations: 3.953 kB / 1.387 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.5998, allocations: 27.98 kB / 1.387 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5998, allocations: 0 / 1.387 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.5998, allocations: 8 kB / 1.387 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5998, allocations: 0 / 1.387 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5998, allocations: 0 / 1.387 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.6005, allocations: 449.4 kB / 1.388 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.6006, allocations: 136.6 kB / 1.388 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.6007, allocations: 12.06 kB / 1.388 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.6008, allocations: 11.98 kB / 1.388 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.6009, allocations: 15.98 kB / 1.388 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.6009, allocations: 4 kB / 1.388 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002358/0.6011, allocations: 235.1 kB / 1.388 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6012, allocations: 0 / 1.388 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003828/0.6015, allocations: 83.69 kB / 1.388 GB, free: 8.387 MB / 0.8855 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 (actSet.y,actAct.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001623/0.6017, allocations: 115.2 kB / 1.388 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005757/0.6023, allocations: 289.1 kB / 1.389 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6023, allocations: 4 kB / 1.389 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.6025, allocations: 99.91 kB / 1.389 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.603, allocations: 81.23 kB / 1.389 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.6041, allocations: 0.6364 MB / 1.389 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.6045, allocations: 0.7911 MB / 1.39 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.6046, allocations: 26.28 kB / 1.39 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.6047, allocations: 23.44 kB / 1.39 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.6047, allocations: 0 / 1.39 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of Templates: time 0.006504/0.6112, allocations: 2.901 MB / 1.393 GB, free: 3.402 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches