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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.198/2.198, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001234/0.001234, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009693/0.0009692, allocations: 103.7 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.046e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.426, allocations: 155.9 MB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/1.427, allocations: 83.2 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01736/1.444, allocations: 6.925 MB / 1.378 GB, free: 8.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.145e-06/1.444, allocations: 4.375 kB / 1.378 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.74e-05/1.444, allocations: 12 kB / 1.378 GB, free: 8.555 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.0009103/1.445, allocations: 0.5443 MB / 1.378 GB, free: 7.988 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/1.445, allocations: 11.97 kB / 1.378 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/1.445, allocations: 43.48 kB / 1.378 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/1.446, allocations: 388.4 kB / 1.379 GB, free: 7.594 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/1.446, allocations: 27.19 kB / 1.379 GB, free: 7.578 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/1.446, allocations: 26.62 kB / 1.379 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/1.447, allocations: 299.8 kB / 1.379 GB, free: 7.348 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/1.447, allocations: 3.938 kB / 1.379 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/1.447, allocations: 11.31 kB / 1.379 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/1.447, allocations: 4 kB / 1.379 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/1.447, allocations: 201.8 kB / 1.379 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/1.449, allocations: 1.166 MB / 1.38 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/1.449, allocations: 207.1 kB / 1.381 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/1.449, allocations: 77.98 kB / 1.381 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/1.449, allocations: 4 kB / 1.381 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/1.449, allocations: 41.08 kB / 1.381 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/1.449, allocations: 0 / 1.381 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003968/1.45, allocations: 198.9 kB / 1.381 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/1.45, allocations: 81.11 kB / 1.381 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/1.45, allocations: 293 kB / 1.381 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/1.45, allocations: 28.33 kB / 1.381 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/1.45, allocations: 188.3 kB / 1.382 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/1.45, allocations: 54.39 kB / 1.382 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/1.45, allocations: 3.812 kB / 1.382 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.451, allocations: 348.3 kB / 1.382 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/1.451, allocations: 60.62 kB / 1.382 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/1.451, allocations: 102.1 kB / 1.382 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/1.451, allocations: 72.14 kB / 1.382 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.451, allocations: 0 / 1.382 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003182/1.451, allocations: 227.7 kB / 1.382 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/1.451, allocations: 265.6 kB / 1.383 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.452, allocations: 4 kB / 1.383 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.452, allocations: 0 / 1.383 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.452, allocations: 39.98 kB / 1.383 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.452, allocations: 7.891 kB / 1.383 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/1.452, allocations: 31.11 kB / 1.383 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/1.452, allocations: 4 kB / 1.383 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/1.452, allocations: 5.562 kB / 1.383 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002451/1.452, allocations: 155 kB / 1.383 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/1.452, allocations: 0 / 1.383 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-06/1.452, allocations: 12 kB / 1.383 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/1.452, allocations: 27.88 kB / 1.383 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.452, allocations: 4 kB / 1.383 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/1.452, allocations: 23.73 kB / 1.383 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/1.452, allocations: 11.88 kB / 1.383 GB, free: 4.23 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 0.0001001/1.453, allocations: 117.8 kB / 1.383 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/1.453, allocations: 27.62 kB / 1.383 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.798e-05/1.453, allocations: 32.88 kB / 1.383 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.453, allocations: 8 kB / 1.383 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.453, allocations: 0 / 1.383 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.453, allocations: 0 / 1.383 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/1.453, allocations: 411.8 kB / 1.383 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.453, allocations: 3.953 kB / 1.383 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/1.453, allocations: 27.98 kB / 1.384 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.453, allocations: 0 / 1.384 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/1.453, allocations: 3.438 kB / 1.384 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/1.453, allocations: 4 kB / 1.384 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.453, allocations: 0 / 1.384 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/1.454, allocations: 392.5 kB / 1.384 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/1.454, allocations: 137.6 kB / 1.384 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/1.454, allocations: 7.938 kB / 1.384 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/1.454, allocations: 11.98 kB / 1.384 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/1.454, allocations: 11.67 kB / 1.384 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/1.454, allocations: 4 kB / 1.384 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002154/1.455, allocations: 236.1 kB / 1.384 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.455, allocations: 0 / 1.384 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003618/1.455, allocations: 86.81 kB / 1.384 GB, free: 2.965 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.0001478/1.455, allocations: 110.9 kB / 1.384 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004144/1.455, allocations: 261.5 kB / 1.385 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.455, allocations: 0 / 1.385 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/1.456, allocations: 80.88 kB / 1.385 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/1.456, allocations: 78.11 kB / 1.385 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000863/1.457, allocations: 408.4 kB / 1.385 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/1.457, allocations: 0.7842 MB / 1.386 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001971/1.458, allocations: 51.03 kB / 1.386 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/1.458, allocations: 15.44 kB / 1.386 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.458, allocations: 4 kB / 1.386 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of Templates: time 0.007129/1.465, allocations: 3.512 MB / 1.39 GB, free: 13.87 MB / 0.8542 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