Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 110.5 kB / 16.42 MB, free: 6.516 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.001188/0.001188, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.24/2.24, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.89 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.067, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002469/1.07, allocations: 1.11 MB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001447/1.071, allocations: 1.004 MB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/1.071, allocations: 6.625 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.357e-05/1.072, allocations: 19.83 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/1.072, allocations: 38.89 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/1.072, allocations: 74.88 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000288/1.072, allocations: 217.2 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/1.073, allocations: 120.9 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/1.073, allocations: 89.75 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/1.073, allocations: 102.9 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/1.073, allocations: 22.66 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.204e-05/1.073, allocations: 22.66 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/1.073, allocations: 50.5 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/1.073, allocations: 97.95 kB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004127/1.074, allocations: 289.2 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.074, allocations: 0.8438 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/1.074, allocations: 4 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.339e-05/1.074, allocations: 0 / 1.092 GB, free: 3.395 MB / 0.8575 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.0007611/1.075, allocations: 485.5 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.075, allocations: 9.094 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/1.075, allocations: 22.97 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/1.075, allocations: 280 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/1.075, allocations: 22.45 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/1.075, allocations: 20.78 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/1.076, allocations: 190.9 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.076, allocations: 0.6562 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/1.076, allocations: 10.03 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/1.076, allocations: 5.156 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/1.076, allocations: 146.8 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/1.077, allocations: 0.5605 MB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/1.077, allocations: 130.7 kB / 1.094 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/1.078, allocations: 64.42 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/1.078, allocations: 5.531 kB / 1.094 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/1.078, allocations: 32.67 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/1.078, allocations: 0 / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006755/1.078, allocations: 200.9 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/1.078, allocations: 61.88 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/1.079, allocations: 186.4 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/1.079, allocations: 30.55 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/1.079, allocations: 137 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/1.079, allocations: 40.03 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/1.079, allocations: 50.17 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.15e-05/1.079, allocations: 322 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/1.079, allocations: 58.75 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/1.079, allocations: 90.58 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/1.08, allocations: 137.9 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.08, allocations: 0.8125 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004744/1.08, allocations: 188.3 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.08, allocations: 6.156 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/1.08, allocations: 5.859 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.08, allocations: 6.156 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/1.08, allocations: 37.84 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.08, allocations: 2.984 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/1.081, allocations: 26.56 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/1.081, allocations: 6.25 kB / 1.095 GB, free: 0.8867 MB / 0.8575 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.0001242/1.081, allocations: 143.5 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/1.081, allocations: 14.22 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/1.081, allocations: 30.61 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.081, allocations: 2.156 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.081, allocations: 0 / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/1.081, allocations: 90.31 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/1.081, allocations: 0.9062 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/1.081, allocations: 16.7 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/1.081, allocations: 19.31 kB / 1.096 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004958/1.082, allocations: 237.7 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000476/1.082, allocations: 334 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002056/1.082, allocations: 66.08 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001091/1.083, allocations: 122.5 kB / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of Backend: time 4.31e-07/1.083, allocations: 0 / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006239/1.083, allocations: 178.1 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of SimCode: time 0.001115/1.084, allocations: 0.7434 MB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.005967/1.09, allocations: 1.618 MB / 1.099 GB, free: 15.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches