Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001135/0.001135, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00995/0.00995, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.684/1.684, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.995/2.995, allocations: 470.6 MB / 0.7442 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004151, allocations: 13.84 kB / 0.9123 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4365, allocations: 161.4 MB / 1.07 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001777/0.4383, allocations: 0.8197 MB / 1.071 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.4399, allocations: 1.01 MB / 1.072 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.44, allocations: 3.938 kB / 1.072 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.4401, allocations: 11.86 kB / 1.072 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.4402, allocations: 19.86 kB / 1.072 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.4404, allocations: 71.88 kB / 1.072 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.4407, allocations: 204.2 kB / 1.072 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.441, allocations: 124.1 kB / 1.072 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.4411, allocations: 67.59 kB / 1.072 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.4413, allocations: 75.5 kB / 1.072 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.4413, allocations: 7.984 kB / 1.072 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/0.4413, allocations: 8 kB / 1.072 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.4414, allocations: 27.86 kB / 1.072 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.4415, allocations: 105.1 kB / 1.072 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.4418, allocations: 275.2 kB / 1.073 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4418, allocations: 3.938 kB / 1.073 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4418, allocations: 0 / 1.073 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4418, allocations: 0 / 1.073 GB, free: 8.48 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007382/0.4426, allocations: 463.2 kB / 1.073 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4426, allocations: 12.03 kB / 1.073 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.4427, allocations: 24.66 kB / 1.073 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.4432, allocations: 282.8 kB / 1.073 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.4433, allocations: 16.81 kB / 1.073 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.4433, allocations: 20.38 kB / 1.073 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.4438, allocations: 207.8 kB / 1.074 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4438, allocations: 192 / 1.074 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.4438, allocations: 11.94 kB / 1.074 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4438, allocations: 7.938 kB / 1.074 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.4443, allocations: 173.6 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009661/0.4453, allocations: 0.5956 MB / 1.074 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.4458, allocations: 171.5 kB / 1.075 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.446, allocations: 68.83 kB / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.446, allocations: 0 / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.4461, allocations: 38.56 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.4461, allocations: 4 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0007322/0.4468, allocations: 242.4 kB / 1.075 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.4469, allocations: 51.41 kB / 1.075 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.4471, allocations: 178.2 kB / 1.075 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.4471, allocations: 29.7 kB / 1.075 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.4473, allocations: 144.2 kB / 1.075 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.4473, allocations: 43.39 kB / 1.075 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.4474, allocations: 41.62 kB / 1.075 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4476, allocations: 326.8 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.4478, allocations: 59.97 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.448, allocations: 105.1 kB / 1.076 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.4484, allocations: 159.1 kB / 1.076 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.4484, allocations: 0 / 1.076 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004785/0.4489, allocations: 213.1 kB / 1.076 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4489, allocations: 8 kB / 1.076 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4489, allocations: 0 / 1.076 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4489, allocations: 4 kB / 1.076 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.4491, allocations: 31.97 kB / 1.076 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4492, allocations: 4 kB / 1.076 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.4493, allocations: 27.98 kB / 1.076 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.4493, allocations: 8 kB / 1.076 GB, free: 4.516 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0001872/0.4495, allocations: 137.8 kB / 1.076 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.4495, allocations: 19.75 kB / 1.076 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.4496, allocations: 25.86 kB / 1.076 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.4496, allocations: 0 / 1.076 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4496, allocations: 4 kB / 1.076 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4496, allocations: 0 / 1.076 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.45, allocations: 269.5 kB / 1.077 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.45, allocations: 3.938 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.4502, allocations: 35.91 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4502, allocations: 0 / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.4502, allocations: 8 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4502, allocations: 0 / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4502, allocations: 0 / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.4507, allocations: 273.6 kB / 1.077 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.4508, allocations: 96.8 kB / 1.077 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.4508, allocations: 8 kB / 1.077 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.451, allocations: 11.98 kB / 1.077 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4511, allocations: 23.91 kB / 1.077 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.4511, allocations: 8 kB / 1.077 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000117/0.4512, allocations: 124.2 kB / 1.077 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4512, allocations: 3.938 kB / 1.077 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002703/0.4515, allocations: 35.84 kB / 1.077 GB, free: 3.359 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001947/0.4517, allocations: 119.2 kB / 1.077 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.4521, allocations: 160.1 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4522, allocations: 0 / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.4524, allocations: 89.92 kB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.4527, allocations: 23.88 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008304/0.4536, allocations: 428.3 kB / 1.078 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.4541, allocations: 0.7283 MB / 1.079 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.4542, allocations: 25.55 kB / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.4543, allocations: 19.44 kB / 1.079 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.4543, allocations: 0 / 1.079 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of Templates: time 0.00523/0.4595, allocations: 1.327 MB / 1.08 GB, free: 468 kB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches