Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01025/0.01025, allocations: 98.97 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 200.8 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002803/1.039, allocations: 1.301 MB / 1.168 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001567/1.04, allocations: 1.076 MB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/1.04, allocations: 8 kB / 1.169 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/1.04, allocations: 31.59 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/1.041, allocations: 27.61 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/1.041, allocations: 111.8 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/1.041, allocations: 284.5 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/1.041, allocations: 173.6 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/1.042, allocations: 111.6 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/1.042, allocations: 123.4 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/1.042, allocations: 32 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.713e-05/1.042, allocations: 28 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/1.042, allocations: 59.83 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/1.042, allocations: 135.2 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/1.042, allocations: 395 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.042, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.063e-06/1.042, allocations: 3.938 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.084e-06/1.042, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008133/1.043, allocations: 0.5455 MB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.043, allocations: 12.03 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/1.043, allocations: 32.75 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/1.044, allocations: 325.1 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.044, allocations: 20.94 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/1.044, allocations: 20.38 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/1.045, allocations: 221.4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.045, allocations: 192 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/1.045, allocations: 19.92 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/1.045, allocations: 8 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/1.045, allocations: 182.1 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/1.046, allocations: 0.6587 MB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/1.046, allocations: 150.5 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/1.047, allocations: 73 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/1.047, allocations: 0 / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.047, allocations: 34.56 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=17): time 1.011e-06/1.047, allocations: 4 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17): time 0.0006319/1.047, allocations: 220.5 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.047, allocations: 51.41 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/1.048, allocations: 207.7 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/1.048, allocations: 33.7 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/1.048, allocations: 168.2 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/1.048, allocations: 55.7 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/1.048, allocations: 57.64 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.048, allocations: 330.8 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/1.048, allocations: 59.95 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/1.048, allocations: 118.8 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/1.049, allocations: 166.6 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.049, allocations: 0 / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004367/1.049, allocations: 219.7 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.049, allocations: 4 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/1.049, allocations: 4 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.049, allocations: 4 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/1.05, allocations: 35.91 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.05, allocations: 4 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/1.05, allocations: 39.7 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/1.05, allocations: 8 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.05, allocations: 157.7 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/1.05, allocations: 27.83 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/1.05, allocations: 21.88 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/1.05, allocations: 0 / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.05, allocations: 0 / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/1.05, allocations: 0 / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/1.05, allocations: 297.4 kB / 1.175 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.05, allocations: 3.938 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/1.05, allocations: 27.98 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/1.05, allocations: 7.984 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/1.05, allocations: 0 / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.05, allocations: 0 / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.05, allocations: 0 / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/1.051, allocations: 275.2 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/1.051, allocations: 96.91 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/1.051, allocations: 8 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/1.051, allocations: 11.98 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/1.051, allocations: 23.97 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/1.051, allocations: 8 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001045/1.051, allocations: 141.5 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.051, allocations: 0 / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002843/1.052, allocations: 39.89 kB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001409/1.052, allocations: 116.4 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004428/1.052, allocations: 161.7 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.052, allocations: 4 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/1.053, allocations: 80.33 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/1.053, allocations: 35.78 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/1.054, allocations: 385.5 kB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/1.054, allocations: 0.7406 MB / 1.177 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001172/1.054, allocations: 33.94 kB / 1.177 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/1.054, allocations: 23.42 kB / 1.177 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of SimCode: time 1.684e-06/1.054, allocations: 0 / 1.177 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of Templates: time 0.005468/1.06, allocations: 1.948 MB / 1.179 GB, free: 6.91 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches