Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001102/0.001102, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002914/1.035, allocations: 1.427 MB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001925/1.037, allocations: 1.104 MB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/1.037, allocations: 8 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/1.037, allocations: 35.53 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002903/1.038, allocations: 31.55 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/1.038, allocations: 127.8 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005052/1.039, allocations: 340.7 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/1.039, allocations: 214 kB / 1.212 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/1.039, allocations: 139.4 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/1.04, allocations: 151.2 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.274e-05/1.04, allocations: 40 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/1.04, allocations: 36 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/1.04, allocations: 87.73 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/1.04, allocations: 159.1 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005584/1.041, allocations: 488 kB / 1.213 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.041, allocations: 4 kB / 1.213 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.595e-06/1.041, allocations: 0 / 1.213 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.41e-05/1.041, allocations: 0 / 1.213 GB, free: 9.406 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001057/1.042, allocations: 0.5775 MB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.042, allocations: 8.031 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.309e-05/1.042, allocations: 36.47 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/1.042, allocations: 333.4 kB / 1.214 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/1.043, allocations: 21.38 kB / 1.214 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/1.043, allocations: 36.38 kB / 1.214 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/1.043, allocations: 295.1 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.043, allocations: 192 / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/1.043, allocations: 11.94 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/1.043, allocations: 8 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/1.044, allocations: 239.9 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/1.045, allocations: 0.821 MB / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/1.045, allocations: 253.1 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/1.046, allocations: 113.3 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/1.046, allocations: 4.234 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.046, allocations: 38.8 kB / 1.215 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 1.573e-06/1.046, allocations: 0 / 1.215 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.0007481/1.047, allocations: 312.1 kB / 1.216 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/1.047, allocations: 55.34 kB / 1.216 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/1.047, allocations: 207.6 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/1.047, allocations: 33.69 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.047, allocations: 172.2 kB / 1.216 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/1.047, allocations: 86.83 kB / 1.216 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/1.047, allocations: 65.97 kB / 1.216 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.047, allocations: 338.8 kB / 1.217 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/1.047, allocations: 76.52 kB / 1.217 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/1.048, allocations: 139.9 kB / 1.217 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/1.048, allocations: 222.9 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.048, allocations: 0 / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005337/1.049, allocations: 281.1 kB / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.049, allocations: 4 kB / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/1.049, allocations: 4.219 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.049, allocations: 7.938 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/1.049, allocations: 63.83 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.049, allocations: 4 kB / 1.217 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/1.049, allocations: 35.67 kB / 1.217 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/1.049, allocations: 8 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.0002259/1.049, allocations: 157.8 kB / 1.218 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/1.05, allocations: 15.81 kB / 1.218 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/1.05, allocations: 256.3 kB / 1.218 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.05, allocations: 3.938 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.05, allocations: 0 / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/1.05, allocations: 100.8 kB / 1.218 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/1.05, allocations: 8 kB / 1.218 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.05, allocations: 15.98 kB / 1.218 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.051, allocations: 31.95 kB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006011/1.051, allocations: 308.8 kB / 1.218 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005704/1.052, allocations: 414.3 kB / 1.219 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002181/1.052, allocations: 112.6 kB / 1.219 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001096/1.052, allocations: 133.5 kB / 1.219 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of Backend: time 4.51e-07/1.052, allocations: 0 / 1.219 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006735/1.053, allocations: 226.7 kB / 1.219 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001047/1.054, allocations: 0.8597 MB / 1.22 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of Templates: time 0.006193/1.06, allocations: 2.229 MB / 1.222 GB, free: 15.39 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches