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.001156/0.001156, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001121/0.001121, allocations: 187 kB / 17.34 MB, free: 5.762 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.414/1.414, allocations: 222.9 MB / 241 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.393/2.393, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.974/0.9755, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002423/0.978, allocations: 1.113 MB / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.9793, allocations: 1.007 MB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.9794, allocations: 2.469 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.047e-05/0.9795, allocations: 28.75 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.9797, allocations: 24.02 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.98, allocations: 79.89 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.9803, allocations: 220.6 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.9806, allocations: 118.3 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.9808, allocations: 92.33 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.9809, allocations: 91.23 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.981, allocations: 23.03 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.527e-05/0.981, allocations: 23.38 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.9811, allocations: 54.25 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.458e-05/0.9812, allocations: 93.3 kB / 1.092 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.9816, allocations: 297.8 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9817, allocations: 0 / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9817, allocations: 0 / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.9817, allocations: 1.219 kB / 1.092 GB, free: 3.414 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.0007456/0.9824, allocations: 488.1 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.9825, allocations: 9.922 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.9826, allocations: 23.38 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.9831, allocations: 276.6 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.9831, allocations: 13.28 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.9832, allocations: 24.97 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.9836, allocations: 187.2 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.9836, allocations: 0.5938 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.9837, allocations: 13.73 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.9837, allocations: 5.234 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.9841, allocations: 150.8 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008368/0.985, allocations: 0.5652 MB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.9853, allocations: 123.2 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.9855, allocations: 60.27 kB / 1.094 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.9855, allocations: 13.97 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.9856, allocations: 36.58 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.9856, allocations: 3.938 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.000628/0.9862, allocations: 203.9 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.9862, allocations: 53.77 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.9864, allocations: 190.3 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.9864, allocations: 26.36 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.9865, allocations: 132.1 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.9865, allocations: 45.38 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.9866, allocations: 49.52 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.9867, allocations: 322.7 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.9869, allocations: 53.47 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.9871, allocations: 100.5 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.9875, allocations: 134.5 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9875, allocations: 0.9375 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004365/0.9879, allocations: 188.1 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.9879, allocations: 7.719 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.988, allocations: 5.594 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.988, allocations: 2.5 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.9882, allocations: 37.56 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.9882, allocations: 3.375 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.9883, allocations: 18.7 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.9884, allocations: 10.2 kB / 1.095 GB, free: 0.9141 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.0001101/0.9885, allocations: 142.7 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.9885, allocations: 15.48 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.9886, allocations: 25.67 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.9886, allocations: 2.344 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.9886, allocations: 0.9062 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9886, allocations: 0.5156 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.9889, allocations: 256.4 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.9889, allocations: 5.047 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.989, allocations: 28.84 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.9891, allocations: 1.531 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.9891, allocations: 5.453 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.9891, allocations: 1.375 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9891, allocations: 3.938 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.9895, allocations: 251.6 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.9896, allocations: 97.31 kB / 1.096 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.9896, allocations: 9.5 kB / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.9897, allocations: 8.031 kB / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.9898, allocations: 22.84 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.9898, allocations: 4.266 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.134e-05/0.9899, allocations: 122 kB / 1.096 GB, free: 124 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9899, allocations: 0 / 1.096 GB, free: 124 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002891/0.9902, allocations: 39.94 kB / 1.096 GB, free: 108 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.0001514/0.9904, allocations: 113.5 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.991, allocations: 137.6 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.991, allocations: 0 / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.9912, allocations: 71.88 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.9916, allocations: 28.53 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.9924, allocations: 344.5 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.9928, allocations: 0.7336 MB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.9929, allocations: 24.89 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.9929, allocations: 0 / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.005485/0.9984, allocations: 2.089 MB / 1.1 GB, free: 14.75 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