Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 112.5 kB / 17.13 MB, free: 5.914 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.001617/0.001617, allocations: 198 kB / 20.08 MB, free: 2.973 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.442/1.442, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.594/2.594, allocations: 443.5 MB / 0.7293 GB, free: 14.65 MB / 0.5762 GB " [Timeout remaining time 177] 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.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_10_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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 1.057 GB, free: 2.086 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 160.7 MB / 1.214 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002645/0.3246, allocations: 1.121 MB / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.326, allocations: 1.022 MB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.3261, allocations: 0 / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.24e-05/0.3261, allocations: 19.73 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.3263, allocations: 43.59 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.3265, allocations: 79.92 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.3268, allocations: 220.2 kB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.327, allocations: 92.2 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3272, allocations: 87.64 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3273, allocations: 99.53 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.3273, allocations: 20 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.279e-05/0.3274, allocations: 27.94 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.3274, allocations: 47.84 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.3275, allocations: 103.5 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.3279, allocations: 290.7 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3279, allocations: 0 / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3279, allocations: 0 / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3279, allocations: 0 / 1.217 GB, free: 13.77 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.0007696/0.3287, allocations: 498.9 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3287, allocations: 8.031 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.3288, allocations: 24.8 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.3293, allocations: 280.3 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3293, allocations: 16.81 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.3293, allocations: 16.38 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.3297, allocations: 191.8 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3298, allocations: 3.938 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.3298, allocations: 8 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3298, allocations: 8 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.3302, allocations: 145.7 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008593/0.331, allocations: 0.5571 MB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.3314, allocations: 126.6 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.3316, allocations: 52.83 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3316, allocations: 4.062 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.3316, allocations: 42.56 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.3316, allocations: 0 / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0006397/0.3323, allocations: 200.4 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3323, allocations: 63.33 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3325, allocations: 183.7 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3325, allocations: 33.7 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3326, allocations: 136.3 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.3327, allocations: 43.62 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.3327, allocations: 57.64 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3329, allocations: 326.8 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.3331, allocations: 51.91 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3333, allocations: 91 kB / 1.22 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.3336, allocations: 137 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3336, allocations: 0 / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000431/0.334, allocations: 192.3 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.334, allocations: 8 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3341, allocations: 0 / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.3341, allocations: 7.984 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.3343, allocations: 39.84 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3343, allocations: 160 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.3344, allocations: 23.89 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.3344, allocations: 11.98 kB / 1.221 GB, free: 9.984 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.0001449/0.3346, allocations: 133.8 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.3346, allocations: 15.91 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.3347, allocations: 17.53 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3347, allocations: 3.938 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3347, allocations: 4 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3347, allocations: 7.984 kB / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.335, allocations: 257.6 kB / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.335, allocations: 0 / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3351, allocations: 23.97 kB / 1.221 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3351, allocations: 0 / 1.221 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3351, allocations: 7.875 kB / 1.221 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.3351, allocations: 7.938 kB / 1.221 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3351, allocations: 0 / 1.221 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.3356, allocations: 251.3 kB / 1.221 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.3357, allocations: 96.94 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.3357, allocations: 4 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.3358, allocations: 11.94 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.3359, allocations: 19.97 kB / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3359, allocations: 4 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.624e-05/0.336, allocations: 119.2 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.336, allocations: 0 / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000289/0.3363, allocations: 39.84 kB / 1.222 GB, free: 8.887 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.000152/0.3364, allocations: 119.2 kB / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004174/0.3368, allocations: 132.2 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3368, allocations: 0 / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.337, allocations: 63.89 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.3374, allocations: 24.64 kB / 1.222 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.3381, allocations: 362.3 kB / 1.222 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3384, allocations: 0.7319 MB / 1.223 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.3385, allocations: 23.42 kB / 1.223 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3385, allocations: 0 / 1.223 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of Templates: time 0.004232/0.3427, allocations: 2.097 MB / 1.225 GB, free: 5.285 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.431048852857202]