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.001251/0.001252, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001637/0.001637, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.531/1.531, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.609/2.609, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003749, allocations: 15.98 kB / 0.816 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8103, allocations: 142.4 MB / 0.9551 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001656/0.812, allocations: 0.7144 MB / 0.9558 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.8136, allocations: 0.9628 MB / 0.9567 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.8138, allocations: 2.5 kB / 0.9567 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.499e-05/0.8139, allocations: 7.875 kB / 0.9567 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.8141, allocations: 25.91 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.8145, allocations: 49.94 kB / 0.9568 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.8148, allocations: 151.8 kB / 0.957 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.8151, allocations: 78 kB / 0.957 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.8154, allocations: 60.92 kB / 0.9571 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.8155, allocations: 50.09 kB / 0.9571 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.8156, allocations: 4.344 kB / 0.9571 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.113e-05/0.8156, allocations: 4.469 kB / 0.9572 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.8157, allocations: 28.22 kB / 0.9572 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.402e-05/0.8158, allocations: 76.67 kB / 0.9573 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.816, allocations: 181.1 kB / 0.9574 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.816, allocations: 1.062 kB / 0.9574 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.816, allocations: 0 / 0.9574 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.816, allocations: 0 / 0.9574 GB, free: 5.832 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.0007421/0.8168, allocations: 431.6 kB / 0.9578 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.8169, allocations: 9.406 kB / 0.9578 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/0.817, allocations: 16.5 kB / 0.9579 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.8175, allocations: 273.4 kB / 0.9581 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.8175, allocations: 11.25 kB / 0.9581 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.8176, allocations: 14.06 kB / 0.9581 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.818, allocations: 155.2 kB / 0.9583 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.818, allocations: 1.125 kB / 0.9583 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.818, allocations: 9.203 kB / 0.9583 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.818, allocations: 7.312 kB / 0.9583 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.8184, allocations: 121.9 kB / 0.9584 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007394/0.8192, allocations: 474.3 kB / 0.9589 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.8195, allocations: 113.1 kB / 0.959 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.8197, allocations: 54.98 kB / 0.959 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.8197, allocations: 9.469 kB / 0.959 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.8198, allocations: 32.25 kB / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/0.8198, allocations: 4 kB / 0.9591 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005996/0.8204, allocations: 184 kB / 0.9593 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.8204, allocations: 56.78 kB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.8206, allocations: 155.7 kB / 0.9595 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.8206, allocations: 27.08 kB / 0.9595 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.8206, allocations: 123 kB / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.8207, allocations: 27.69 kB / 0.9596 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.8207, allocations: 29.95 kB / 0.9597 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.8208, allocations: 325.5 kB / 0.96 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.821, allocations: 47.47 kB / 0.96 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.8211, allocations: 82.95 kB / 0.9601 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.8214, allocations: 117.1 kB / 0.9602 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8215, allocations: 4 kB / 0.9602 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003773/0.8218, allocations: 158.4 kB / 0.9604 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.8219, allocations: 13.38 kB / 0.9604 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.8219, allocations: 9.453 kB / 0.9604 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8219, allocations: 1.375 kB / 0.9604 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.8221, allocations: 25.98 kB / 0.9604 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.8221, allocations: 5.312 kB / 0.9604 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.8222, allocations: 17.55 kB / 0.9604 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.8223, allocations: 16.05 kB / 0.9604 GB, free: 3.285 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.0001247/0.8224, allocations: 132.1 kB / 0.9606 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.8224, allocations: 13.31 kB / 0.9606 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.8225, allocations: 19.45 kB / 0.9606 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8225, allocations: 1.375 kB / 0.9606 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.8225, allocations: 0 / 0.9606 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8225, allocations: 0 / 0.9606 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.8228, allocations: 234.5 kB / 0.9608 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.8228, allocations: 0 / 0.9608 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.8229, allocations: 24.36 kB / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.8229, allocations: 1.344 kB / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.8229, allocations: 5.344 kB / 0.9609 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.823, allocations: 0 / 0.9609 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.823, allocations: 1.312 kB / 0.9609 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.8234, allocations: 247.9 kB / 0.9611 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.8235, allocations: 95.72 kB / 0.9612 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.8235, allocations: 1.219 kB / 0.9612 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.8236, allocations: 12.59 kB / 0.9612 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.8237, allocations: 17.69 kB / 0.9612 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.8237, allocations: 6.812 kB / 0.9612 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.96e-05/0.8238, allocations: 116.2 kB / 0.9613 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8238, allocations: 0 / 0.9613 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003056/0.8241, allocations: 26.56 kB / 0.9614 GB, free: 2.453 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.0001729/0.8243, allocations: 109.2 kB / 0.9615 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004252/0.8247, allocations: 120.5 kB / 0.9616 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8248, allocations: 0 / 0.9616 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.8249, allocations: 59.5 kB / 0.9616 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.8253, allocations: 20.98 kB / 0.9617 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.8259, allocations: 318.9 kB / 0.962 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.8261, allocations: 0.7141 MB / 0.9627 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.488e-05/0.8262, allocations: 20.45 kB / 0.9627 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.8262, allocations: 18.89 kB / 0.9627 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.8262, allocations: 1.031 kB / 0.9627 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of Templates: time 0.004406/0.8306, allocations: 1.068 MB / 0.9637 GB, free: 0.7695 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