Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001725/0.001725, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.45/2.45, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.89 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8422, allocations: 140.4 MB / 0.949 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002241/0.8445, allocations: 1.07 MB / 0.95 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009834/0.8455, allocations: 0.9678 MB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.8455, allocations: 2.344 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.263e-05/0.8456, allocations: 8.906 kB / 0.951 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.8457, allocations: 17.31 kB / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.8459, allocations: 57.03 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.846, allocations: 152.8 kB / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.8462, allocations: 89.44 kB / 0.9513 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.8463, allocations: 61.55 kB / 0.9513 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.8464, allocations: 66.81 kB / 0.9514 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.8465, allocations: 9.625 kB / 0.9514 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.331e-05/0.8465, allocations: 8.25 kB / 0.9514 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.8465, allocations: 31.97 kB / 0.9514 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.8466, allocations: 61.86 kB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.8467, allocations: 197.5 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.8467, allocations: 0 / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.8467, allocations: 0 / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.8467, allocations: 0 / 0.9517 GB, free: 7.223 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005581/0.8473, allocations: 451.1 kB / 0.9521 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.8473, allocations: 9.656 kB / 0.9521 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.8474, allocations: 20.25 kB / 0.9521 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.8478, allocations: 251.8 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.8478, allocations: 10.12 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.8478, allocations: 13.03 kB / 0.9524 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.8481, allocations: 151.7 kB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.8481, allocations: 0 / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.8482, allocations: 5.125 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.8482, allocations: 7.812 kB / 0.9526 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.8485, allocations: 109.8 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.8491, allocations: 490.8 kB / 0.9531 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.8493, allocations: 99.42 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.8495, allocations: 52.8 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.8495, allocations: 9.328 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.8495, allocations: 39.59 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.8495, allocations: 1.188 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005301/0.8501, allocations: 166.6 kB / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.8501, allocations: 52.94 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.8503, allocations: 156.1 kB / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.8503, allocations: 27.14 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.8504, allocations: 119.7 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.8504, allocations: 26.91 kB / 0.9539 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.8505, allocations: 42.41 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.159e-05/0.8505, allocations: 325.6 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.8507, allocations: 41.91 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.8508, allocations: 78.78 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.8511, allocations: 108.1 kB / 0.9544 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8511, allocations: 1.312 kB / 0.9544 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003695/0.8515, allocations: 147.9 kB / 0.9546 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.8516, allocations: 4.969 kB / 0.9546 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8516, allocations: 1.25 kB / 0.9546 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.8516, allocations: 1.375 kB / 0.9546 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.8518, allocations: 26.81 kB / 0.9546 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.8518, allocations: 13.88 kB / 0.9546 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.8519, allocations: 22.11 kB / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.8519, allocations: 8 kB / 0.9546 GB, free: 4.664 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (14): * Single equations (assignments): 14 * 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.0001055/0.852, allocations: 122.1 kB / 0.9548 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.8521, allocations: 9.188 kB / 0.9548 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.8521, allocations: 14.75 kB / 0.9548 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8521, allocations: 2.281 kB / 0.9548 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.8522, allocations: 7.984 kB / 0.9548 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8522, allocations: 0 / 0.9548 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.8524, allocations: 233.8 kB / 0.955 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8524, allocations: 1.25 kB / 0.955 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.8525, allocations: 33.41 kB / 0.955 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8525, allocations: 1.188 kB / 0.9551 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.8525, allocations: 1.25 kB / 0.9551 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8526, allocations: 0 / 0.9551 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8526, allocations: 1.25 kB / 0.9551 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.8529, allocations: 228.7 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.853, allocations: 91.58 kB / 0.9554 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.853, allocations: 9.359 kB / 0.9554 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.8531, allocations: 8.578 kB / 0.9554 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.8532, allocations: 18.78 kB / 0.9554 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.8532, allocations: 6.156 kB / 0.9554 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.8533, allocations: 117.5 kB / 0.9555 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8533, allocations: 1.281 kB / 0.9555 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002515/0.8536, allocations: 21.75 kB / 0.9555 GB, free: 3.836 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: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001473/0.8537, allocations: 112.2 kB / 0.9556 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.8541, allocations: 110.1 kB / 0.9557 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8541, allocations: 1.125 kB / 0.9557 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.8543, allocations: 52.59 kB / 0.9558 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.8547, allocations: 9.781 kB / 0.9558 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.8553, allocations: 315 kB / 0.9561 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.8555, allocations: 0.7178 MB / 0.9568 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.167e-05/0.8556, allocations: 19.58 kB / 0.9568 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.8556, allocations: 18.52 kB / 0.9568 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.8556, allocations: 0 / 0.9568 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.00396/0.8596, allocations: 1.073 MB / 0.9579 GB, free: 2.16 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches