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.33/1.33, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001029, allocations: 188 kB / 326.5 MB, free: 2.242 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.552/1.552, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008548/0.0008549, allocations: 97.53 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 9.531 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.194, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.3563, allocations: 137.7 MB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.3567, allocations: 83.94 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.3729, allocations: 7.021 MB / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.373, allocations: 0 / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.34e-05/0.373, allocations: 8 kB / 1.042 GB, free: 14.89 MB / 0.698 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.000901/0.3739, allocations: 0.5919 MB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.374, allocations: 12.03 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3741, allocations: 43.53 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.3747, allocations: 402.6 kB / 1.043 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.3747, allocations: 20.5 kB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.3748, allocations: 28 kB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.3753, allocations: 329.4 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3754, allocations: 3.938 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.3754, allocations: 12 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3754, allocations: 4 kB / 1.043 GB, free: 13.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.3759, allocations: 246.2 kB / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.3774, allocations: 1.167 MB / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.3779, allocations: 247 kB / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.378, allocations: 0 / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.378, allocations: 46.48 kB / 1.045 GB, free: 11.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.378, allocations: 0 / 1.045 GB, free: 11.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0006631/0.3787, allocations: 318.7 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.3787, allocations: 85.05 kB / 1.045 GB, free: 11.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.3791, allocations: 300.9 kB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.3791, allocations: 33.7 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.3793, allocations: 196 kB / 1.045 GB, free: 10.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.3793, allocations: 51.27 kB / 1.046 GB, free: 10.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.3793, allocations: 4 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3795, allocations: 338.8 kB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.3796, allocations: 87.97 kB / 1.046 GB, free: 10.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.3798, allocations: 116.1 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.38, allocations: 104 kB / 1.046 GB, free: 9.922 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.38, allocations: 0 / 1.046 GB, free: 9.922 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004425/0.3805, allocations: 261.1 kB / 1.046 GB, free: 9.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.3806, allocations: 271 kB / 1.047 GB, free: 9.375 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.3806, allocations: 7.938 kB / 1.047 GB, free: 9.367 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3806, allocations: 0 / 1.047 GB, free: 9.367 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3808, allocations: 36.05 kB / 1.047 GB, free: 9.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3808, allocations: 0 / 1.047 GB, free: 9.332 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.381, allocations: 27.83 kB / 1.047 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.381, allocations: 4 kB / 1.047 GB, free: 9.301 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.381, allocations: 10.61 kB / 1.047 GB, free: 9.293 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003056/0.3813, allocations: 179.8 kB / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.3813, allocations: 0 / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-06/0.3813, allocations: 4 kB / 1.047 GB, free: 9.113 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3815, allocations: 23.94 kB / 1.047 GB, free: 9.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.3815, allocations: 3.984 kB / 1.047 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3816, allocations: 23.84 kB / 1.047 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3816, allocations: 4 kB / 1.047 GB, free: 9.059 MB / 0.698 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.0001917/0.3818, allocations: 253 kB / 1.047 GB, free: 8.801 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.3819, allocations: 35.64 kB / 1.047 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.057e-05/0.382, allocations: 39.22 kB / 1.047 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.382, allocations: 0 / 1.047 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.382, allocations: 0 / 1.047 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.382, allocations: 3.984 kB / 1.047 GB, free: 8.723 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.3825, allocations: 413.2 kB / 1.048 GB, free: 8.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3825, allocations: 4 kB / 1.048 GB, free: 8.266 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.3827, allocations: 23.98 kB / 1.048 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3827, allocations: 0 / 1.048 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.3827, allocations: 15.95 kB / 1.048 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3827, allocations: 0 / 1.048 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3827, allocations: 0 / 1.048 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008697/0.3836, allocations: 455 kB / 1.048 GB, free: 7.766 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.3838, allocations: 132.7 kB / 1.048 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.3839, allocations: 4 kB / 1.048 GB, free: 7.613 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3841, allocations: 11.95 kB / 1.048 GB, free: 7.602 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.3841, allocations: 7.984 kB / 1.048 GB, free: 7.594 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.3842, allocations: 12.06 kB / 1.048 GB, free: 7.582 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003638/0.3845, allocations: 243.2 kB / 1.049 GB, free: 7.344 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3845, allocations: 0 / 1.049 GB, free: 7.344 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004901/0.385, allocations: 99.62 kB / 1.049 GB, free: 7.246 MB / 0.698 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.0002424/0.3853, allocations: 105.7 kB / 1.049 GB, free: 7.133 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006892/0.386, allocations: 287.8 kB / 1.049 GB, free: 6.852 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.386, allocations: 0 / 1.049 GB, free: 6.852 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.3862, allocations: 108.1 kB / 1.049 GB, free: 6.746 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.3868, allocations: 69.48 kB / 1.049 GB, free: 6.684 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.3882, allocations: 0.6521 MB / 1.05 GB, free: 6.004 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.3887, allocations: 0.7872 MB / 1.051 GB, free: 5.191 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.3889, allocations: 38.2 kB / 1.051 GB, free: 5.152 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.3889, allocations: 19.44 kB / 1.051 GB, free: 5.133 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/0.3889, allocations: 0 / 1.051 GB, free: 5.133 MB / 0.698 GB Notification: Performance of Templates: time 0.006782/0.3957, allocations: 2.909 MB / 1.053 GB, free: 2.258 MB / 0.698 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