Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001707/0.001706, allocations: 184.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001058, allocations: 90.47 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.971e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2817, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8906/1.172, allocations: 137.9 MB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.173, allocations: 83.14 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01635/1.189, allocations: 6.939 MB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.392e-06/1.189, allocations: 0 / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.652e-05/1.189, allocations: 15.98 kB / 1.027 GB, free: 10.25 MB / 0.6511 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.0008015/1.19, allocations: 0.552 MB / 1.027 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.19, allocations: 12.03 kB / 1.027 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/1.19, allocations: 39.53 kB / 1.027 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/1.191, allocations: 386.3 kB / 1.028 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/1.191, allocations: 11.94 kB / 1.028 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/1.191, allocations: 23.94 kB / 1.028 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003568/1.191, allocations: 189 kB / 1.028 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/1.192, allocations: 263.9 kB / 1.028 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.192, allocations: 0 / 1.028 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/1.192, allocations: 0 / 1.028 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/1.192, allocations: 8 kB / 1.028 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/1.193, allocations: 1.102 MB / 1.029 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/1.194, allocations: 196.8 kB / 1.029 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/1.194, allocations: 74.67 kB / 1.03 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/1.194, allocations: 3.188 kB / 1.03 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/1.194, allocations: 38.59 kB / 1.03 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/1.194, allocations: 0 / 1.03 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003627/1.194, allocations: 180.6 kB / 1.03 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/1.194, allocations: 88.44 kB / 1.03 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/1.194, allocations: 233.2 kB / 1.03 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/1.195, allocations: 29.64 kB / 1.03 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/1.195, allocations: 203.1 kB / 1.03 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/1.195, allocations: 53.89 kB / 1.03 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/1.195, allocations: 224 / 1.03 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.195, allocations: 332.8 kB / 1.031 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/1.195, allocations: 72.56 kB / 1.031 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/1.195, allocations: 93.45 kB / 1.031 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/1.195, allocations: 69.05 kB / 1.031 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.195, allocations: 0 / 1.031 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003042/1.196, allocations: 207 kB / 1.031 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.196, allocations: 270.6 kB / 1.031 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.196, allocations: 0 / 1.031 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.196, allocations: 4 kB / 1.031 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/1.196, allocations: 39.05 kB / 1.031 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.196, allocations: 0 / 1.031 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/1.196, allocations: 23.83 kB / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/1.196, allocations: 8 kB / 1.031 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/1.196, allocations: 0 / 1.031 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002128/1.196, allocations: 146.4 kB / 1.032 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/1.196, allocations: 0 / 1.032 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/1.196, allocations: 3.953 kB / 1.032 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/1.197, allocations: 24 kB / 1.032 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/1.197, allocations: 4.047 kB / 1.032 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.344e-05/1.197, allocations: 11.91 kB / 1.032 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/1.197, allocations: 11.31 kB / 1.032 GB, free: 6.117 MB / 0.6511 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.923e-05/1.197, allocations: 104.9 kB / 1.032 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/1.197, allocations: 35.56 kB / 1.032 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/1.197, allocations: 30.95 kB / 1.032 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/1.197, allocations: 3.953 kB / 1.032 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.197, allocations: 4 kB / 1.032 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.197, allocations: 4 kB / 1.032 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/1.197, allocations: 352.6 kB / 1.032 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.197, allocations: 0 / 1.032 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/1.198, allocations: 35.11 kB / 1.032 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.198, allocations: 0 / 1.032 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/1.198, allocations: 0 / 1.032 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/1.198, allocations: 7.984 kB / 1.032 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.198, allocations: 0 / 1.032 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/1.198, allocations: 378.4 kB / 1.033 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.198, allocations: 124.7 kB / 1.033 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/1.198, allocations: 0 / 1.033 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/1.198, allocations: 15.92 kB / 1.033 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/1.198, allocations: 7.984 kB / 1.033 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/1.198, allocations: 7.812 kB / 1.033 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001827/1.199, allocations: 192 kB / 1.033 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.199, allocations: 0 / 1.033 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004173/1.199, allocations: 95.5 kB / 1.033 GB, free: 4.934 MB / 0.6511 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.000171/1.199, allocations: 107.1 kB / 1.033 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003945/1.2, allocations: 247.7 kB / 1.033 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.2, allocations: 0 / 1.033 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/1.2, allocations: 74.5 kB / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/1.2, allocations: 69.31 kB / 1.033 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/1.201, allocations: 401.2 kB / 1.034 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/1.201, allocations: 0.7879 MB / 1.035 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001885/1.202, allocations: 47.3 kB / 1.035 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/1.202, allocations: 15.44 kB / 1.035 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of SimCode: time 4.41e-07/1.202, allocations: 0 / 1.035 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of Templates: time 0.00616/1.208, allocations: 2.943 MB / 1.038 GB, free: 456 kB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches