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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.98/1.98, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001084/0.001084, allocations: 189.2 kB / 490.8 MB, free: 1.941 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.498/1.498, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.00101/0.00101, allocations: 100.5 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.955e-06/8.165e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2762, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7079/0.9842, allocations: 155.1 MB / 1.363 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.9845, allocations: 83.06 kB / 1.363 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01548/1, allocations: 6.57 MB / 1.37 GB, free: 17.05 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.608e-05/1, allocations: 10.84 kB / 1.37 GB, free: 17.05 MB / 0.823 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.000853/1.001, allocations: 0.5512 MB / 1.37 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/1.001, allocations: 9.219 kB / 1.37 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/1.001, allocations: 46.91 kB / 1.37 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/1.002, allocations: 383.3 kB / 1.37 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.002, allocations: 8.719 kB / 1.37 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/1.002, allocations: 15.12 kB / 1.37 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003756/1.002, allocations: 193.5 kB / 1.371 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/1.003, allocations: 263.8 kB / 1.371 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.003, allocations: 3.938 kB / 1.371 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/1.003, allocations: 5.312 kB / 1.371 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.003, allocations: 5.594 kB / 1.371 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/1.004, allocations: 1.083 MB / 1.372 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/1.004, allocations: 190.7 kB / 1.372 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/1.005, allocations: 80.97 kB / 1.372 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/1.005, allocations: 1.188 kB / 1.372 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/1.005, allocations: 33.55 kB / 1.372 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/1.005, allocations: 0 / 1.372 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003541/1.005, allocations: 181.7 kB / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/1.005, allocations: 79.39 kB / 1.373 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/1.005, allocations: 234.7 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/1.005, allocations: 26.5 kB / 1.373 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/1.005, allocations: 169.9 kB / 1.373 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/1.005, allocations: 53.02 kB / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/1.005, allocations: 0 / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.006, allocations: 341.8 kB / 1.373 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/1.006, allocations: 63.89 kB / 1.373 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/1.006, allocations: 96.61 kB / 1.373 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/1.006, allocations: 73.45 kB / 1.374 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.006, allocations: 5.344 kB / 1.374 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002975/1.006, allocations: 206.3 kB / 1.374 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.006, allocations: 273.4 kB / 1.374 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.006, allocations: 0.6562 kB / 1.374 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/1.006, allocations: 2.625 kB / 1.374 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/1.007, allocations: 42.78 kB / 1.374 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.007, allocations: 1.094 kB / 1.374 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/1.007, allocations: 25.52 kB / 1.374 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/1.007, allocations: 12.73 kB / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/1.007, allocations: 4.156 kB / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002318/1.007, allocations: 141.2 kB / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/1.007, allocations: 4.938 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-06/1.007, allocations: 1.125 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/1.007, allocations: 33.28 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/1.007, allocations: 1.656 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.972e-05/1.007, allocations: 11.98 kB / 1.374 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/1.007, allocations: 7.156 kB / 1.374 GB, free: 30.55 MB / 0.8386 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 () * 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 9.585e-05/1.007, allocations: 103.9 kB / 1.374 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/1.007, allocations: 24.38 kB / 1.374 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/1.008, allocations: 27.66 kB / 1.374 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.008, allocations: 6.062 kB / 1.374 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.008, allocations: 0 / 1.374 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.008, allocations: 2.234 kB / 1.374 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/1.008, allocations: 363.5 kB / 1.375 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.008, allocations: 1.188 kB / 1.375 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/1.008, allocations: 31.12 kB / 1.375 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.008, allocations: 0 / 1.375 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/1.008, allocations: 1.516 kB / 1.375 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/1.008, allocations: 1.812 kB / 1.375 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.008, allocations: 0.5156 kB / 1.375 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004506/1.009, allocations: 381.4 kB / 1.375 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.666e-05/1.009, allocations: 123.3 kB / 1.375 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/1.009, allocations: 2.125 kB / 1.375 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/1.009, allocations: 15.38 kB / 1.375 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/1.009, allocations: 7.531 kB / 1.375 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/1.009, allocations: 6.062 kB / 1.375 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001811/1.009, allocations: 192.9 kB / 1.376 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003958/1.01, allocations: 88.58 kB / 1.376 GB, free: 29.88 MB / 0.8386 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 () * 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.0001261/1.01, allocations: 103.2 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003835/1.01, allocations: 241.7 kB / 1.376 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.01, allocations: 1.125 kB / 1.376 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/1.01, allocations: 88.03 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/1.011, allocations: 71.31 kB / 1.376 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009693/1.012, allocations: 387.7 kB / 1.376 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/1.012, allocations: 0.8069 MB / 1.377 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.012, allocations: 0 / 1.377 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.008606/1.021, allocations: 3.814 MB / 1.381 GB, free: 28.64 MB / 0.8386 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","../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches