Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002748/0.002748, allocations: 211.3 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.475/3.475, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 72.58 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4091, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003613/0.4128, allocations: 1.082 MB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.4147, allocations: 1.05 MB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.4149, allocations: 8 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.415, allocations: 23.67 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.4152, allocations: 35.67 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.4156, allocations: 87.84 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000352/0.416, allocations: 228.2 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.4163, allocations: 88.59 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.4166, allocations: 103.5 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.4167, allocations: 83.55 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.4168, allocations: 28 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.4169, allocations: 31.98 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.4169, allocations: 51.84 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.417, allocations: 83.53 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.4175, allocations: 314.6 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4175, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4175, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.4175, allocations: 3.938 kB / 1.367 GB, free: 10.25 MB / 1.061 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.0009173/0.4184, allocations: 427.3 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4184, allocations: 8.031 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.4186, allocations: 40.78 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.4192, allocations: 218.4 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.4192, allocations: 16.81 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.4192, allocations: 24.38 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.4197, allocations: 191.8 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4197, allocations: 8.172 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.4197, allocations: 11.94 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.4197, allocations: 11.98 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.4202, allocations: 161.5 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008328/0.421, allocations: 475.3 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.4214, allocations: 146.5 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.4215, allocations: 68.75 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4216, allocations: 0 / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.4216, allocations: 38.56 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.4216, allocations: 0 / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0006174/0.4222, allocations: 211 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.4223, allocations: 55.34 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.4225, allocations: 182.7 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4225, allocations: 33.7 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4226, allocations: 152.4 kB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.4227, allocations: 43.62 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.4227, allocations: 57.64 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4229, allocations: 322.8 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4231, allocations: 59.91 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.4233, allocations: 101.7 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.4236, allocations: 143 kB / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4236, allocations: 0 / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004292/0.4241, allocations: 197.2 kB / 1.37 GB, free: 6.719 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4241, allocations: 8 kB / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4241, allocations: 0 / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4241, allocations: 4 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.4243, allocations: 39.91 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.4243, allocations: 0 / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4244, allocations: 23.88 kB / 1.37 GB, free: 6.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.4244, allocations: 8 kB / 1.37 GB, free: 6.637 MB / 1.061 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.0001886/0.4246, allocations: 141.9 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.4247, allocations: 19.84 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.4247, allocations: 25.8 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4247, allocations: 0 / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4247, allocations: 0 / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4247, allocations: 3.984 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.425, allocations: 189.2 kB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.425, allocations: 0 / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.4251, allocations: 23.97 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.4251, allocations: 7.938 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4251, allocations: 11.94 kB / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4251, allocations: 3.938 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4251, allocations: 3.938 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.4256, allocations: 261.1 kB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.4256, allocations: 15.84 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.4256, allocations: 7.938 kB / 1.371 GB, free: 5.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.4258, allocations: 15.98 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.4258, allocations: 19.97 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.4259, allocations: 8 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001031/0.426, allocations: 115.2 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.426, allocations: 0 / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002902/0.4263, allocations: 39.89 kB / 1.371 GB, free: 5.688 MB / 1.061 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.0001371/0.4264, allocations: 112.3 kB / 1.371 GB, free: 5.566 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.4268, allocations: 145.5 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4268, allocations: 0 / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.427, allocations: 71.89 kB / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.4273, allocations: 16 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/0.428, allocations: 365.1 kB / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.4281, allocations: 121.2 kB / 1.372 GB, free: 4.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.635e-05/0.4282, allocations: 17.48 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.4283, allocations: 27.42 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/0.4283, allocations: 4 kB / 1.372 GB, free: 4.773 MB / 1.061 GB Notification: Performance of Templates: time 0.005162/0.4334, allocations: 1.602 MB / 1.374 GB, free: 3.242 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.721903136000037]