Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.256/2.256, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001325/0.001325, allocations: 187.8 kB / 0.4902 GB, free: 2.309 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.47/1.47, allocations: 223.2 MB / 0.7992 GB, free: 14.8 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.000901/0.0009011, allocations: 112.8 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 11.06 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.276, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.47, allocations: 151.1 MB / 1.377 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.4704, allocations: 71.95 kB / 1.377 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008673/0.4791, allocations: 3.108 MB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4791, allocations: 4 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.4792, allocations: 4 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007498/0.4799, allocations: 467 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.48, allocations: 8.562 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.25e-05/0.4801, allocations: 19.81 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.4803, allocations: 190.7 kB / 1.381 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.4804, allocations: 20.44 kB / 1.381 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.4804, allocations: 16 kB / 1.381 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.4809, allocations: 203.3 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4809, allocations: 0 / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.481, allocations: 4 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.481, allocations: 4 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.4814, allocations: 185.6 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4825, allocations: 0.6076 MB / 1.382 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.4828, allocations: 154.5 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4829, allocations: 7.984 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.4829, allocations: 30.56 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.4829, allocations: 0 / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0006603/0.4836, allocations: 245.6 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.4836, allocations: 63.34 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.4838, allocations: 178 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.4839, allocations: 33.7 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.484, allocations: 124.3 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.484, allocations: 39.52 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.484, allocations: 4 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4842, allocations: 322.8 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.4844, allocations: 67.95 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.4845, allocations: 59.97 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.4847, allocations: 57.94 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4847, allocations: 0 / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003946/0.4851, allocations: 177.4 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4851, allocations: 11.95 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4851, allocations: 3.938 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4852, allocations: 0 / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.4854, allocations: 31.91 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4854, allocations: 0 / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.4855, allocations: 23.89 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.4855, allocations: 4 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001264/0.4857, allocations: 129.8 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.4857, allocations: 11.91 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.4858, allocations: 29.47 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.4858, allocations: 3.984 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4858, allocations: 0 / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4858, allocations: 0 / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.4861, allocations: 277.4 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4861, allocations: 0 / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.4863, allocations: 35.92 kB / 1.384 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4863, allocations: 0 / 1.384 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4863, allocations: 3.984 kB / 1.384 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4863, allocations: 3.953 kB / 1.384 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4863, allocations: 4 kB / 1.384 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.4868, allocations: 281.2 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.4868, allocations: 92.91 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.4869, allocations: 7.938 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.487, allocations: 15.92 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.4871, allocations: 43.8 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.4871, allocations: 0 / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001065/0.4872, allocations: 136.1 kB / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4872, allocations: 0 / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002593/0.4875, allocations: 36 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001587/0.4877, allocations: 108 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004069/0.4881, allocations: 159.8 kB / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4881, allocations: 0 / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.4883, allocations: 87.89 kB / 1.385 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.4886, allocations: 17.94 kB / 1.385 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/0.4893, allocations: 378.3 kB / 1.385 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.4896, allocations: 0.7324 MB / 1.386 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.647e-05/0.4897, allocations: 17.42 kB / 1.386 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.4897, allocations: 27.42 kB / 1.386 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/0.4897, allocations: 0 / 1.386 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of Templates: time 0.004272/0.494, allocations: 1.474 MB / 1.387 GB, free: 7.625 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches