Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0008782/0.0008781, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007656/0.007656, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.526/1.526, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.00042, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9442/0.9446, allocations: 142.4 MB / 0.9551 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.00181/0.9465, allocations: 0.9599 MB / 0.956 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.9484, allocations: 1.056 MB / 0.9571 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.9487, allocations: 4.719 kB / 0.9571 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.9489, allocations: 25.02 kB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.9491, allocations: 22.09 kB / 0.9571 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.9494, allocations: 94.03 kB / 0.9572 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.9498, allocations: 271.1 kB / 0.9575 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.9502, allocations: 152 kB / 0.9576 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.9504, allocations: 78.23 kB / 0.9577 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.9506, allocations: 88.23 kB / 0.9578 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.9507, allocations: 10.56 kB / 0.9578 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.031e-05/0.9507, allocations: 6.812 kB / 0.9578 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.365e-05/0.9508, allocations: 34.89 kB / 0.9578 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.9509, allocations: 116.7 kB / 0.9579 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.9512, allocations: 350.1 kB / 0.9583 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9512, allocations: 0 / 0.9583 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.787e-06/0.9512, allocations: 0 / 0.9583 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.9512, allocations: 3.938 kB / 0.9583 GB, free: 5.277 MB / 0.7169 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.0008575/0.9521, allocations: 0.5074 MB / 0.9588 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.9522, allocations: 8.875 kB / 0.9588 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.9523, allocations: 26.97 kB / 0.9588 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.9529, allocations: 325.4 kB / 0.9591 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.9529, allocations: 17.91 kB / 0.9591 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.953, allocations: 24.5 kB / 0.9591 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/0.9535, allocations: 237.7 kB / 0.9594 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.9535, allocations: 0 / 0.9594 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.9536, allocations: 17.36 kB / 0.9594 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.9536, allocations: 6.875 kB / 0.9594 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.9541, allocations: 186.6 kB / 0.9596 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.9552, allocations: 0.6818 MB / 0.9602 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.9556, allocations: 147.9 kB / 0.9604 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.9559, allocations: 81.66 kB / 0.9605 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.9559, allocations: 6.234 kB / 0.9605 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.9559, allocations: 31.59 kB / 0.9605 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.9559, allocations: 1.094 kB / 0.9605 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0007747/0.9567, allocations: 240.5 kB / 0.9607 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.9568, allocations: 53.69 kB / 0.9608 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.957, allocations: 212 kB / 0.961 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.957, allocations: 35.08 kB / 0.961 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.9572, allocations: 161.9 kB / 0.9612 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.9572, allocations: 48.8 kB / 0.9612 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.9573, allocations: 35.45 kB / 0.9612 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.9574, allocations: 334.9 kB / 0.9616 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.9576, allocations: 69.08 kB / 0.9616 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.9578, allocations: 122.2 kB / 0.9617 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.9583, allocations: 183.3 kB / 0.9619 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9583, allocations: 4.844 kB / 0.9619 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000572/0.9589, allocations: 232.6 kB / 0.9621 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.9589, allocations: 5.125 kB / 0.9622 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.9589, allocations: 2.719 kB / 0.9622 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.959, allocations: 2.219 kB / 0.9622 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.9592, allocations: 46.28 kB / 0.9622 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.9592, allocations: 3.406 kB / 0.9622 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.9594, allocations: 28.39 kB / 0.9622 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.9594, allocations: 11.41 kB / 0.9622 GB, free: 2.105 MB / 0.7169 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.0001904/0.9596, allocations: 149.4 kB / 0.9624 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.9596, allocations: 15.69 kB / 0.9624 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/0.9597, allocations: 22.03 kB / 0.9624 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.9597, allocations: 6 kB / 0.9624 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.9598, allocations: 1.25 kB / 0.9624 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9598, allocations: 3.984 kB / 0.9624 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.9601, allocations: 300.7 kB / 0.9627 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.9601, allocations: 0 / 0.9627 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.9603, allocations: 28.91 kB / 0.9627 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.9603, allocations: 0 / 0.9627 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.9603, allocations: 1.312 kB / 0.9627 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9603, allocations: 9.406 kB / 0.9628 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9603, allocations: 7.984 kB / 0.9628 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.9608, allocations: 278.7 kB / 0.963 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.9609, allocations: 101.5 kB / 0.9631 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.9609, allocations: 1.281 kB / 0.9631 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.9611, allocations: 17.77 kB / 0.9631 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.9612, allocations: 26.67 kB / 0.9632 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.9612, allocations: 7.812 kB / 0.9632 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000118/0.9614, allocations: 140.7 kB / 0.9633 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9614, allocations: 0 / 0.9633 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00034/0.9617, allocations: 45.5 kB / 0.9634 GB, free: 1.16 MB / 0.7169 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.0001643/0.9619, allocations: 117.9 kB / 0.9635 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005329/0.9624, allocations: 171.1 kB / 0.9636 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9624, allocations: 1 kB / 0.9636 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.9627, allocations: 84.92 kB / 0.9637 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.9631, allocations: 27.58 kB / 0.9637 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/0.9639, allocations: 490 kB / 0.9642 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.9643, allocations: 0.7512 MB / 0.9649 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.9644, allocations: 32 kB / 0.965 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/0.9645, allocations: 23.61 kB / 0.965 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.9645, allocations: 0 / 0.965 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.005879/0.9704, allocations: 1.712 MB / 0.9667 GB, free: 15 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches