Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001548/0.001548, 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.001595/0.001595, allocations: 195 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.499/1.499, 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 12.0.0-master/package.mo): time 2.852/2.852, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 72.61 kB / 0.9114 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4146, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002809/0.4175, allocations: 1.081 MB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.4189, allocations: 0.9674 MB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.419, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.063e-05/0.4191, allocations: 11.86 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.4193, allocations: 27.78 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.4196, allocations: 43.97 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.4198, allocations: 168 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.42, allocations: 88.28 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.4202, allocations: 67.7 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.4204, allocations: 67.62 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.4204, allocations: 8 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.971e-05/0.4205, allocations: 12 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.4205, allocations: 31.91 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.4206, allocations: 59.61 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.4209, allocations: 207.5 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4209, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4209, allocations: 3.938 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4209, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008135/0.4217, allocations: 454.9 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.4218, allocations: 8.031 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.4218, allocations: 24.66 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.4224, allocations: 253.7 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4224, allocations: 8.375 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.4224, allocations: 16.38 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.4228, allocations: 150 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4228, allocations: 192 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.4229, allocations: 7.938 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4229, allocations: 8 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.4232, allocations: 115.9 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.4241, allocations: 496 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.4244, allocations: 118.6 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.4246, allocations: 56.81 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4246, allocations: 7.984 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.4247, allocations: 34.5 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.4247, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005874/0.4253, allocations: 177.4 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.4253, allocations: 51.41 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.4255, allocations: 156.6 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.4255, allocations: 29.7 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.4256, allocations: 124.2 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.4256, allocations: 39.45 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.4257, allocations: 37.7 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4259, allocations: 326.8 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.426, allocations: 35.97 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.4262, allocations: 83.27 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.4265, allocations: 111.3 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4265, allocations: 0 / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000347/0.4268, allocations: 153.4 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4269, allocations: 9.562 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4269, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4269, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.4271, allocations: 23.98 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4271, allocations: 12.03 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4272, allocations: 19.83 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.4272, allocations: 4 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.0001159/0.4274, allocations: 132.6 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.4274, allocations: 11.89 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.4274, allocations: 12.72 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4274, allocations: 4 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4275, allocations: 4 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4275, allocations: 0 / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.4277, allocations: 245.4 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4278, allocations: 4 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.4279, allocations: 23.91 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4279, allocations: 0 / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.4279, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4279, allocations: 0 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4279, allocations: 0 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.4283, allocations: 235.3 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.4284, allocations: 88.95 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.4284, allocations: 4 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.4285, allocations: 7.984 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.4286, allocations: 19.97 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.4286, allocations: 4 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.905e-05/0.4287, allocations: 111.2 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4287, allocations: 0 / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002463/0.429, allocations: 27.91 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001513/0.4291, allocations: 115.1 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.4295, allocations: 112.7 kB / 1.074 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4295, allocations: 4 kB / 1.074 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.4296, allocations: 56.12 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.43, allocations: 28.08 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.4307, allocations: 314.4 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.431, allocations: 0.7203 MB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.4311, allocations: 25.06 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.4312, allocations: 15.44 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4312, allocations: 0 / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of Templates: time 0.00394/0.4351, allocations: 1.096 MB / 1.077 GB, free: 1.113 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches