Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001177/0.001177, allocations: 118.5 kB / 16.42 MB, free: 6.508 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.001302/0.001303, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.386/1.386, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.7 MB / 0.746 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9028/0.9043, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002825/0.9071, allocations: 1.309 MB / 1.228 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.9092, allocations: 1.08 MB / 1.229 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.9095, allocations: 7.938 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.9097, allocations: 35.59 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.9099, allocations: 39.61 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.9103, allocations: 111.8 kB / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.9107, allocations: 304.3 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.911, allocations: 182.3 kB / 1.229 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.9112, allocations: 115.6 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.9114, allocations: 127.3 kB / 1.23 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.9115, allocations: 35.98 kB / 1.23 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.297e-05/0.9115, allocations: 32 kB / 1.23 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.9116, allocations: 63.84 kB / 1.23 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.9117, allocations: 135.2 kB / 1.23 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.9122, allocations: 410.8 kB / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9122, allocations: 0 / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9122, allocations: 0 / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.9123, allocations: 0 / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009622/0.9132, allocations: 0.5572 MB / 1.231 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.9133, allocations: 8.031 kB / 1.231 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.9134, allocations: 36.75 kB / 1.231 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.914, allocations: 325.6 kB / 1.231 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.9141, allocations: 20.94 kB / 1.231 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.9141, allocations: 28.31 kB / 1.231 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.9146, allocations: 237.4 kB / 1.231 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.9146, allocations: 4.188 kB / 1.231 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.9146, allocations: 11.94 kB / 1.231 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.9147, allocations: 8 kB / 1.231 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.9151, allocations: 190.1 kB / 1.232 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.9162, allocations: 0.6825 MB / 1.232 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.9167, allocations: 174.7 kB / 1.232 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.9169, allocations: 80.75 kB / 1.233 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.9169, allocations: 4 kB / 1.233 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.9169, allocations: 34.56 kB / 1.233 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 2.255e-06/0.9169, allocations: 0 / 1.233 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.0006538/0.9176, allocations: 245.3 kB / 1.233 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.9176, allocations: 51.41 kB / 1.233 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.9178, allocations: 211.7 kB / 1.233 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.9179, allocations: 37.7 kB / 1.233 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.918, allocations: 164.7 kB / 1.233 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.918, allocations: 55.53 kB / 1.233 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.9181, allocations: 61.92 kB / 1.233 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.9182, allocations: 326.8 kB / 1.234 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.9184, allocations: 60.42 kB / 1.234 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.9187, allocations: 131.7 kB / 1.234 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.919, allocations: 177 kB / 1.234 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.919, allocations: 3.938 kB / 1.234 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004842/0.9195, allocations: 235.1 kB / 1.234 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.9196, allocations: 4 kB / 1.234 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.9196, allocations: 4 kB / 1.234 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.9196, allocations: 0 / 1.234 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.9198, allocations: 39.91 kB / 1.234 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.9198, allocations: 4 kB / 1.234 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.92, allocations: 32.09 kB / 1.234 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.92, allocations: 4 kB / 1.234 GB, free: 5.094 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (27): * Single equations (assignments): 27 * 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.0001596/0.9202, allocations: 158.2 kB / 1.234 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.9202, allocations: 19.86 kB / 1.234 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.9203, allocations: 21.88 kB / 1.235 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.9203, allocations: 3.984 kB / 1.235 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9203, allocations: 0 / 1.235 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.9204, allocations: 96.95 kB / 1.235 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.9204, allocations: 8 kB / 1.235 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.9205, allocations: 11.98 kB / 1.235 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.9207, allocations: 31.86 kB / 1.235 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005023/0.9212, allocations: 256.8 kB / 1.235 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004846/0.9217, allocations: 363.7 kB / 1.235 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001934/0.9219, allocations: 77.84 kB / 1.235 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001132/0.922, allocations: 141.5 kB / 1.235 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of Backend: time 4.71e-07/0.922, allocations: 0 / 1.235 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006051/0.9226, allocations: 198.2 kB / 1.236 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008459/0.9235, allocations: 0.8313 MB / 1.236 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of Templates: time 0.006083/0.9296, allocations: 2.184 MB / 1.239 GB, free: 0.668 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches