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.008722/0.008722, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001369/0.00137, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.281/2.281, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67.89 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 140.4 MB / 1.088 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.003088/1.042, allocations: 1.113 MB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001587/1.043, allocations: 1.009 MB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/1.044, allocations: 3.312 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.713e-05/1.044, allocations: 24 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/1.044, allocations: 24.7 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/1.044, allocations: 83.31 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002868/1.044, allocations: 217.3 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/1.045, allocations: 117.9 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/1.045, allocations: 92.16 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/1.045, allocations: 95.12 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/1.045, allocations: 23.19 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.602e-05/1.045, allocations: 26.62 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/1.045, allocations: 45.83 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.22e-05/1.045, allocations: 97.91 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/1.046, allocations: 294.2 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.046, allocations: 0 / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/1.046, allocations: 0 / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.046, allocations: 1.094 kB / 1.091 GB, free: 3.387 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.0007008/1.046, allocations: 483.7 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.046, allocations: 14.06 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/1.047, allocations: 23.97 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/1.047, allocations: 280.8 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/1.047, allocations: 12.66 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/1.047, allocations: 21.25 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/1.048, allocations: 187.7 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.048, allocations: 0 / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/1.048, allocations: 13.47 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/1.048, allocations: 5.812 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/1.048, allocations: 151 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008812/1.049, allocations: 0.557 MB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/1.049, allocations: 127.1 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/1.049, allocations: 65.25 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/1.05, allocations: 5.5 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.05, allocations: 40.69 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/1.05, allocations: 3.938 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006719/1.05, allocations: 200.3 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/1.05, allocations: 54.47 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/1.05, allocations: 185.8 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/1.05, allocations: 30.89 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/1.051, allocations: 136.9 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/1.051, allocations: 43.41 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/1.051, allocations: 50.41 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/1.051, allocations: 322.9 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/1.051, allocations: 54.06 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/1.051, allocations: 100.7 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/1.052, allocations: 138.1 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.052, allocations: 0.75 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004472/1.052, allocations: 188.5 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/1.052, allocations: 5.891 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.052, allocations: 5.375 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.052, allocations: 2.344 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/1.052, allocations: 38.42 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.052, allocations: 2.531 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/1.052, allocations: 23.06 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/1.052, allocations: 5.734 kB / 1.095 GB, free: 0.8789 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.0001148/1.053, allocations: 140 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/1.053, allocations: 14.03 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/1.053, allocations: 26.66 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.053, allocations: 5.812 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.053, allocations: 1.5 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.053, allocations: 0.5625 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/1.053, allocations: 260.6 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.053, allocations: 0 / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/1.053, allocations: 21.22 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.053, allocations: 0.9062 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/1.053, allocations: 6 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.053, allocations: 1.031 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.053, allocations: 4.828 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/1.054, allocations: 254.8 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/1.054, allocations: 93.34 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/1.054, allocations: 9.344 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.054, allocations: 8.094 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.054, allocations: 24.16 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/1.054, allocations: 7.641 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001056/1.054, allocations: 122.1 kB / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.054, allocations: 0 / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002893/1.054, allocations: 40 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002093/1.055, allocations: 108.9 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000543/1.055, allocations: 144.9 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.055, allocations: 0 / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/1.055, allocations: 72.34 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/1.056, allocations: 20.06 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/1.057, allocations: 321.1 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/1.057, allocations: 0.7296 MB / 1.097 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001109/1.057, allocations: 25.33 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/1.057, allocations: 19.47 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.057, allocations: 4 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.005436/1.063, allocations: 1.454 MB / 1.098 GB, free: 14.86 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/jenkins/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