Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.771/2.771, allocations: 443.4 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 1.059 GB, free: 356 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4373, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.00276/0.4401, allocations: 1.126 MB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.4416, allocations: 1.018 MB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.4417, allocations: 4 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.432e-05/0.4418, allocations: 23.67 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.4419, allocations: 35.72 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.4422, allocations: 83.86 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.4425, allocations: 216.2 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.4428, allocations: 96.2 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.443, allocations: 83.64 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.4432, allocations: 99.53 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.4432, allocations: 24 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-05/0.4433, allocations: 24 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.4433, allocations: 43.84 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.4434, allocations: 103.5 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.4438, allocations: 298.6 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4438, allocations: 0 / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4438, allocations: 0 / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.4438, allocations: 4 kB / 1.219 GB, free: 12.03 MB / 0.9669 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.0007981/0.4446, allocations: 494.9 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4447, allocations: 12.03 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.4447, allocations: 28.72 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.4453, allocations: 274.5 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.4453, allocations: 16.81 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.4453, allocations: 20.38 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.4457, allocations: 187.8 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4458, allocations: 3.938 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.4458, allocations: 4 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4458, allocations: 11.94 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.4462, allocations: 145.7 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000975/0.4472, allocations: 0.561 MB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.4475, allocations: 122.7 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.4477, allocations: 52.83 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.4477, allocations: 8 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.4477, allocations: 34.56 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.4477, allocations: 3.938 kB / 1.221 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0006143/0.4483, allocations: 201.4 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.4484, allocations: 63.33 kB / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.4486, allocations: 179.8 kB / 1.222 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.4486, allocations: 29.7 kB / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4487, allocations: 140.3 kB / 1.222 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.4488, allocations: 39.62 kB / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.4488, allocations: 57.64 kB / 1.222 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.449, allocations: 330.8 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.4492, allocations: 47.97 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.4494, allocations: 93.05 kB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.4497, allocations: 147.1 kB / 1.223 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4497, allocations: 0 / 1.223 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000427/0.4501, allocations: 189.3 kB / 1.223 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4502, allocations: 8 kB / 1.223 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4502, allocations: 0 / 1.223 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4502, allocations: 4 kB / 1.223 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.4504, allocations: 35.84 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4504, allocations: 4 kB / 1.223 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4505, allocations: 24.05 kB / 1.223 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.4505, allocations: 7.984 kB / 1.223 GB, free: 8.246 MB / 0.9669 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.0001385/0.4506, allocations: 137.8 kB / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.4507, allocations: 19.91 kB / 1.223 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.4507, allocations: 17.53 kB / 1.223 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4507, allocations: 3.938 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4507, allocations: 0 / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4508, allocations: 3.984 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.4511, allocations: 265.6 kB / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4511, allocations: 0 / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.4512, allocations: 27.91 kB / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4512, allocations: 0 / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4512, allocations: 0 / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4512, allocations: 3.938 kB / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.4512, allocations: 0 / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.4517, allocations: 261.1 kB / 1.223 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.4517, allocations: 92.95 kB / 1.224 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.4518, allocations: 3.984 kB / 1.224 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.4519, allocations: 15.94 kB / 1.224 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.452, allocations: 19.97 kB / 1.224 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.452, allocations: 0 / 1.224 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001051/0.4521, allocations: 119.2 kB / 1.224 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.4521, allocations: 4 kB / 1.224 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002692/0.4523, allocations: 39.83 kB / 1.224 GB, free: 7.141 MB / 0.9669 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.0001593/0.4525, allocations: 111.2 kB / 1.224 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004208/0.4529, allocations: 131.8 kB / 1.224 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4529, allocations: 320 / 1.224 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4531, allocations: 71.89 kB / 1.224 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.4535, allocations: 16 kB / 1.224 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007335/0.4542, allocations: 346 kB / 1.224 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.4546, allocations: 0.7319 MB / 1.225 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.4547, allocations: 21.53 kB / 1.225 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.4548, allocations: 19.44 kB / 1.225 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.4548, allocations: 0 / 1.225 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of Templates: time 0.005406/0.4602, allocations: 1.481 MB / 1.227 GB, free: 4.219 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.004981223493814]