Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DualDuctMixConInletSensor.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 117.8 kB / 16.42 MB, free: 6.02 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.002938/0.002938, allocations: 183.8 kB / 17.35 MB, free: 5.625 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.404/1.404, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001533, allocations: 67.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002346/1.145, allocations: 1.124 MB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001143/1.146, allocations: 1.006 MB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/1.147, allocations: 4 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.774e-05/1.147, allocations: 23.67 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/1.147, allocations: 35.69 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/1.147, allocations: 75.91 kB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/1.147, allocations: 220.2 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/1.147, allocations: 116.2 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/1.148, allocations: 99.58 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/1.148, allocations: 95.53 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/1.148, allocations: 24 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.71e-05/1.148, allocations: 20 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/1.148, allocations: 55.78 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/1.148, allocations: 99.47 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/1.148, allocations: 283.3 kB / 1.171 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.148, allocations: 0 / 1.171 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/1.148, allocations: 0 / 1.171 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.106e-05/1.148, allocations: 0 / 1.171 GB, free: 0.6055 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007339/1.149, allocations: 0.4911 MB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.149, allocations: 12.91 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/1.149, allocations: 24.8 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/1.15, allocations: 278.8 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/1.15, allocations: 12.81 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/1.15, allocations: 20.38 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/1.15, allocations: 191.8 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.15, allocations: 11.88 kB / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/1.15, allocations: 8 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.15, allocations: 4 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/1.151, allocations: 149.6 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/1.151, allocations: 0.5649 MB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/1.152, allocations: 128.2 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/1.152, allocations: 60.81 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/1.152, allocations: 4 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/1.152, allocations: 38.56 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 2.846e-06/1.152, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0005892/1.152, allocations: 205.4 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/1.153, allocations: 55.34 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/1.153, allocations: 182.3 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/1.153, allocations: 29.7 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/1.153, allocations: 152.4 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/1.153, allocations: 35.69 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/1.153, allocations: 49.66 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.153, allocations: 322.8 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/1.153, allocations: 55.95 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/1.153, allocations: 99.52 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/1.154, allocations: 144.3 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.154, allocations: 0 / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003828/1.154, allocations: 173.4 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.154, allocations: 4.156 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.154, allocations: 11.94 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.154, allocations: 3.984 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/1.154, allocations: 35.92 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.154, allocations: 7.938 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/1.154, allocations: 19.88 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/1.154, allocations: 8 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001168/1.155, allocations: 137.8 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/1.155, allocations: 19.89 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/1.155, allocations: 17.53 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.155, allocations: 4 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.155, allocations: 3.938 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/1.155, allocations: 92.95 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/1.155, allocations: 3.984 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/1.155, allocations: 8 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/1.155, allocations: 19.97 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000438/1.155, allocations: 244.7 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004018/1.156, allocations: 331.9 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001678/1.156, allocations: 70.34 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.053e-05/1.156, allocations: 116.2 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of Backend: time 6.51e-07/1.156, allocations: 0 / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005423/1.157, allocations: 174.2 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007426/1.157, allocations: 0.7485 MB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of Templates: time 0.004694/1.162, allocations: 1.615 MB / 1.177 GB, free: 9.168 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches