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.018/2.018, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.00101/0.00101, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.33/1.33, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008932/0.0008932, allocations: 87.84 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.317e-05/1.318e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2201, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7618/0.9819, allocations: 154.4 MB / 1.357 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.9823, allocations: 80.42 kB / 1.357 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.9971, allocations: 6.884 MB / 1.363 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9972, allocations: 4 kB / 1.363 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.205e-05/0.9972, allocations: 15.56 kB / 1.364 GB, free: 33.59 MB / 0.8386 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.0006202/0.9978, allocations: 0.5372 MB / 1.364 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.9979, allocations: 11.62 kB / 1.364 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.998, allocations: 42.7 kB / 1.364 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.9984, allocations: 385.8 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.9984, allocations: 7.5 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.9985, allocations: 15.22 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000304/0.9988, allocations: 192.4 kB / 1.365 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.9991, allocations: 261.3 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.9992, allocations: 7.875 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.9992, allocations: 0 / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.9992, allocations: 7.812 kB / 1.365 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/1, allocations: 1.094 MB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/1.001, allocations: 194.4 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/1.001, allocations: 77.05 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/1.001, allocations: 0 / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/1.001, allocations: 38.41 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/1.001, allocations: 0 / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002982/1.001, allocations: 192.5 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/1.001, allocations: 81.33 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/1.001, allocations: 230.7 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/1.001, allocations: 25.7 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/1.002, allocations: 202.8 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/1.002, allocations: 45.38 kB / 1.367 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/1.002, allocations: 4 kB / 1.367 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.002, allocations: 340 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/1.002, allocations: 60.25 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.851e-05/1.002, allocations: 94.11 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.803e-05/1.002, allocations: 76.47 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.002, allocations: 32 / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002345/1.002, allocations: 206.8 kB / 1.368 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.002, allocations: 272.3 kB / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.002, allocations: 0 / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.003, allocations: 7.906 kB / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/1.003, allocations: 33.64 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.003, allocations: 0 / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/1.003, allocations: 21.64 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/1.003, allocations: 7.25 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-06/1.003, allocations: 3.875 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001809/1.003, allocations: 146.8 kB / 1.368 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-06/1.003, allocations: 4.062 kB / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-06/1.003, allocations: 3.469 kB / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/1.003, allocations: 25.23 kB / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/1.003, allocations: 0 / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/1.003, allocations: 15.62 kB / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/1.003, allocations: 7.844 kB / 1.368 GB, free: 31.11 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 8.898e-05/1.003, allocations: 104.9 kB / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/1.003, allocations: 29.73 kB / 1.368 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/1.003, allocations: 33.86 kB / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/1.003, allocations: 3.969 kB / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.003, allocations: 0 / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/1.004, allocations: 3.984 kB / 1.368 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/1.004, allocations: 353.2 kB / 1.369 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.004, allocations: 4 kB / 1.369 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/1.004, allocations: 36.48 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.004, allocations: 0 / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.004, allocations: 3.844 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/1.004, allocations: 0 / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.004, allocations: 7.953 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/1.004, allocations: 374.5 kB / 1.369 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/1.005, allocations: 126.6 kB / 1.369 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/1.005, allocations: 3.625 kB / 1.369 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/1.005, allocations: 14.81 kB / 1.369 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/1.005, allocations: 10.67 kB / 1.369 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/1.005, allocations: 7.875 kB / 1.369 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000151/1.005, allocations: 181.2 kB / 1.37 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.005, allocations: 0 / 1.37 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003479/1.005, allocations: 92.88 kB / 1.37 GB, free: 30.42 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.0001231/1.005, allocations: 106.3 kB / 1.37 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003182/1.006, allocations: 244.7 kB / 1.37 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.006, allocations: 256 / 1.37 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/1.006, allocations: 83.08 kB / 1.37 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/1.006, allocations: 59.95 kB / 1.37 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/1.007, allocations: 401 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/1.007, allocations: 0.7942 MB / 1.371 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001646/1.007, allocations: 33.42 kB / 1.371 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/1.008, allocations: 19.12 kB / 1.371 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.008, allocations: 4 kB / 1.371 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of Templates: time 0.005105/1.013, allocations: 2.912 MB / 1.374 GB, free: 29.21 MB / 0.8386 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