Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.001487/0.001487, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001672/0.001672, allocations: 210.3 kB / 22.24 MB, free: 5.266 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.777 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.51/3.51, 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.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.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.002105/0.002105, allocations: 75.34 kB / 1.186 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4141, allocations: 181.9 MB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002997/0.4171, allocations: 1.09 MB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.4188, allocations: 1.046 MB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.419, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.4191, allocations: 23.67 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.4192, allocations: 31.69 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.4196, allocations: 95.89 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.4199, allocations: 220.2 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.4201, allocations: 92.58 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.4204, allocations: 107.5 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.4206, allocations: 87.53 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.4206, allocations: 24 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.4207, allocations: 28 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.4208, allocations: 47.84 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.369e-05/0.4208, allocations: 83.53 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.4213, allocations: 318.6 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4213, allocations: 4 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4213, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.4213, allocations: 0 / 1.367 GB, free: 10.46 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.0008492/0.4221, allocations: 429.8 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4222, allocations: 8.031 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.4224, allocations: 32.78 kB / 1.368 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.4229, allocations: 228.8 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.4229, allocations: 20.81 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.4229, allocations: 16.38 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.4234, allocations: 195.8 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4234, allocations: 192 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.4234, allocations: 15.94 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.4234, allocations: 4 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.4238, allocations: 157.6 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.4247, allocations: 487.2 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.4251, allocations: 156.5 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.4253, allocations: 56.83 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.4253, allocations: 4 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.4253, allocations: 34.55 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.4253, allocations: 3.938 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0006412/0.426, allocations: 213.4 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.426, allocations: 59.34 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.4262, allocations: 182.7 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.4262, allocations: 29.7 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.4263, allocations: 148.4 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.4264, allocations: 47.69 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.4265, allocations: 53.66 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4266, allocations: 330.8 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.4268, allocations: 55.97 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.427, allocations: 97.05 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.4273, allocations: 147 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4273, allocations: 0 / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004482/0.4278, allocations: 202.5 kB / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4278, allocations: 4 kB / 1.37 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4278, allocations: 4 kB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4278, allocations: 160 / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.428, allocations: 39.91 kB / 1.37 GB, free: 6.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.428, allocations: 4 kB / 1.37 GB, free: 6.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.4282, allocations: 23.88 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.4282, allocations: 4 kB / 1.37 GB, free: 6.836 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.0002833/0.4285, allocations: 141.8 kB / 1.371 GB, free: 6.688 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.4285, allocations: 15.84 kB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.4286, allocations: 25.8 kB / 1.371 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4286, allocations: 8 kB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4286, allocations: 0 / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4286, allocations: 0 / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.4289, allocations: 189.2 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4289, allocations: 4 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.429, allocations: 23.97 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.429, allocations: 3.938 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4291, allocations: 0 / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4291, allocations: 0 / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4291, allocations: 7.938 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.4295, allocations: 265.7 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.4296, allocations: 19.83 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.4296, allocations: 11.88 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4297, allocations: 8 kB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.4298, allocations: 23.95 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.4298, allocations: 4 kB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000118/0.4299, allocations: 119.2 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4299, allocations: 0 / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002845/0.4302, allocations: 39.89 kB / 1.371 GB, free: 5.891 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.0001454/0.4304, allocations: 109.1 kB / 1.371 GB, free: 5.773 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.4308, allocations: 147.7 kB / 1.372 GB, free: 5.629 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4308, allocations: 4 kB / 1.372 GB, free: 5.625 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.431, allocations: 72.2 kB / 1.372 GB, free: 5.555 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.4313, allocations: 16 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007063/0.432, allocations: 358.3 kB / 1.372 GB, free: 5.164 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.4321, allocations: 125.2 kB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.4322, allocations: 25.47 kB / 1.372 GB, free: 5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.4323, allocations: 23.42 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.4323, allocations: 0 / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of Templates: time 0.005258/0.4375, allocations: 1.585 MB / 1.374 GB, free: 3.461 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.60644076578319]