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.007969/0.007969, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.00127/0.00127, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.464/2.464, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 59.91 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.095, allocations: 140.4 MB / 1.088 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.002569/1.098, allocations: 1.106 MB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00129/1.099, allocations: 1.008 MB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/1.099, allocations: 3.281 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.71e-05/1.099, allocations: 23.91 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/1.099, allocations: 34.22 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/1.1, allocations: 78.38 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/1.1, allocations: 222.5 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/1.1, allocations: 118.1 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/1.1, allocations: 87.38 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/1.1, allocations: 95.92 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/1.101, allocations: 23.5 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.932e-05/1.101, allocations: 22.34 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/1.101, allocations: 49.39 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/1.101, allocations: 111 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004078/1.101, allocations: 288.7 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.101, allocations: 1.062 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.694e-06/1.101, allocations: 0 / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.708e-06/1.101, allocations: 0 / 1.091 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.0007405/1.102, allocations: 488.5 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.102, allocations: 9.906 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/1.102, allocations: 23.19 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/1.103, allocations: 277.2 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/1.103, allocations: 16.69 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/1.103, allocations: 17.16 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/1.103, allocations: 195.3 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.103, allocations: 0 / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/1.103, allocations: 6.562 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.103, allocations: 4.594 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/1.104, allocations: 150.8 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/1.104, allocations: 0.5572 MB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/1.105, allocations: 131.5 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/1.105, allocations: 62.75 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/1.105, allocations: 10.41 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/1.105, allocations: 36.12 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/1.105, allocations: 0 / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0005867/1.106, allocations: 201.7 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/1.106, allocations: 53.27 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/1.106, allocations: 186.3 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/1.106, allocations: 34.39 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/1.106, allocations: 133 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/1.106, allocations: 40.28 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/1.106, allocations: 49.88 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.081e-05/1.106, allocations: 331.2 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/1.106, allocations: 49.05 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/1.106, allocations: 91.98 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/1.107, allocations: 137.7 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.107, allocations: 0.7812 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004234/1.107, allocations: 189.1 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.107, allocations: 6 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.107, allocations: 5.406 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.107, allocations: 2.062 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/1.108, allocations: 33.75 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.108, allocations: 11.44 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/1.108, allocations: 26.2 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/1.108, allocations: 6.969 kB / 1.095 GB, free: 0.8945 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.000103/1.108, allocations: 146.5 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/1.108, allocations: 15.42 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/1.108, allocations: 21.84 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.108, allocations: 2.109 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.108, allocations: 0.75 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.108, allocations: 4.797 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/1.108, allocations: 264.4 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/1.108, allocations: 0.7188 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/1.108, allocations: 21.28 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.108, allocations: 0.8125 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/1.108, allocations: 10.27 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/1.108, allocations: 9.328 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.108, allocations: 0 / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/1.109, allocations: 251.2 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/1.109, allocations: 94 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/1.109, allocations: 5.328 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/1.109, allocations: 11.88 kB / 1.095 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/1.109, allocations: 18.58 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/1.109, allocations: 4.016 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001206/1.109, allocations: 130 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of sort global known variables: time 3e-07/1.109, allocations: 0.6875 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004499/1.11, allocations: 35.88 kB / 1.096 GB, free: 84 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.0001598/1.11, allocations: 109.2 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004625/1.11, allocations: 139.9 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.11, allocations: 0 / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/1.111, allocations: 71.58 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/1.111, allocations: 24.98 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/1.112, allocations: 321.2 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/1.112, allocations: 0.7332 MB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001145/1.112, allocations: 20.62 kB / 1.097 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/1.112, allocations: 20.28 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of SimCode: time 7.11e-07/1.112, allocations: 0 / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.006023/1.119, allocations: 1.455 MB / 1.098 GB, free: 14.87 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