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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001029/0.001029, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001546/0.001546, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.539/2.539, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.000433, allocations: 8 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.834, allocations: 142.4 MB / 0.9545 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.00142/0.8355, allocations: 0.9116 MB / 0.9554 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.837, allocations: 1.049 MB / 0.9564 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.8373, allocations: 4.125 kB / 0.9564 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.8374, allocations: 20.91 kB / 0.9564 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.8375, allocations: 18.67 kB / 0.9565 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.8378, allocations: 77.92 kB / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.8381, allocations: 250.4 kB / 0.9568 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.8384, allocations: 126.5 kB / 0.9569 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.8387, allocations: 70.12 kB / 0.957 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.8389, allocations: 88.47 kB / 0.957 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.8389, allocations: 6.469 kB / 0.957 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.818e-05/0.839, allocations: 6.219 kB / 0.957 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.839, allocations: 40.19 kB / 0.9571 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.8391, allocations: 60.27 kB / 0.9571 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.8394, allocations: 288.5 kB / 0.9574 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.8394, allocations: 13.41 kB / 0.9574 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8394, allocations: 0 / 0.9574 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8395, allocations: 0 / 0.9574 GB, free: 5.418 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.0009506/0.8404, allocations: 0.4986 MB / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.8405, allocations: 13.03 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.8406, allocations: 29.8 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005885/0.8412, allocations: 322.7 kB / 0.9583 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.8412, allocations: 22.16 kB / 0.9583 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.8413, allocations: 24.78 kB / 0.9583 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.8419, allocations: 234 kB / 0.9585 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.8419, allocations: 1.062 kB / 0.9585 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.8419, allocations: 9.969 kB / 0.9585 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.842, allocations: 6.469 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.8425, allocations: 189.4 kB / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.8436, allocations: 0.6659 MB / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.844, allocations: 167.1 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.8442, allocations: 72.75 kB / 0.9596 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.8443, allocations: 1.375 kB / 0.9596 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.8443, allocations: 43.92 kB / 0.9597 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 2.544e-06/0.8443, allocations: 0 / 0.9597 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0005735/0.8449, allocations: 232.2 kB / 0.9599 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.8449, allocations: 52.78 kB / 0.9599 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.8451, allocations: 214.4 kB / 0.9601 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.8451, allocations: 36.39 kB / 0.9602 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.8452, allocations: 157.8 kB / 0.9603 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.8453, allocations: 52.86 kB / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.8453, allocations: 5.375 kB / 0.9604 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.8453, allocations: 331 kB / 0.9607 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.8455, allocations: 65.08 kB / 0.9608 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.8457, allocations: 125.8 kB / 0.9609 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.8459, allocations: 65.7 kB / 0.9609 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.8459, allocations: 1.344 kB / 0.9609 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005121/0.8464, allocations: 230.1 kB / 0.9612 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.8465, allocations: 9.609 kB / 0.9612 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.8465, allocations: 2.594 kB / 0.9612 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.8465, allocations: 3 kB / 0.9612 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.8467, allocations: 37.98 kB / 0.9612 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.8468, allocations: 6.703 kB / 0.9612 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.8469, allocations: 37.03 kB / 0.9612 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.847, allocations: 6.969 kB / 0.9613 GB, free: 2.383 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002118/0.8472, allocations: 145.3 kB / 0.9614 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.649e-05/0.8473, allocations: 20.59 kB / 0.9614 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.246e-05/0.8473, allocations: 29.8 kB / 0.9614 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.8473, allocations: 2 kB / 0.9614 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.8474, allocations: 4 kB / 0.9614 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.8474, allocations: 1 kB / 0.9614 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.8477, allocations: 292.1 kB / 0.9617 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.8478, allocations: 1.031 kB / 0.9617 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.8479, allocations: 31.59 kB / 0.9618 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.8479, allocations: 4.906 kB / 0.9618 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.8479, allocations: 5.156 kB / 0.9618 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.848, allocations: 0.9062 kB / 0.9618 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.848, allocations: 1.125 kB / 0.9618 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.8484, allocations: 279.8 kB / 0.962 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.8485, allocations: 98.62 kB / 0.9621 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.8485, allocations: 9 kB / 0.9621 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.8487, allocations: 12.95 kB / 0.9621 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.8488, allocations: 31.33 kB / 0.9622 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.8488, allocations: 7.141 kB / 0.9622 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001054/0.8489, allocations: 136.5 kB / 0.9623 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8489, allocations: 0 / 0.9623 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003258/0.8492, allocations: 49.16 kB / 0.9624 GB, free: 1.438 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 (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.000134/0.8494, allocations: 120.1 kB / 0.9625 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.8498, allocations: 177.9 kB / 0.9626 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.8498, allocations: 0 / 0.9626 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.85, allocations: 80.59 kB / 0.9627 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.8503, allocations: 29.94 kB / 0.9628 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.8511, allocations: 456.2 kB / 0.9632 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.8513, allocations: 0.7462 MB / 0.9639 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.8514, allocations: 23.58 kB / 0.9639 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.8515, allocations: 28.08 kB / 0.964 GB, free: 116 kB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.8515, allocations: 1.562 kB / 0.964 GB, free: 116 kB / 0.7169 GB Notification: Performance of Templates: time 0.005326/0.8568, allocations: 1.67 MB / 0.9656 GB, free: 15.32 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