Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001696/0.001696, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002182/0.002182, allocations: 219.2 kB / 23.01 MB, free: 4.609 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.167/3.167, allocations: 0.49 GB / 0.7958 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002042/0.002042, allocations: 69.97 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3744, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002753/0.3772, allocations: 1.148 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.3787, allocations: 1.065 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.3788, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.528e-05/0.3789, allocations: 23.67 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.379, allocations: 35.72 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.3793, allocations: 91.8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.3796, allocations: 232.2 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.3799, allocations: 92.61 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.3802, allocations: 103.6 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.3803, allocations: 95.48 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.3804, allocations: 31.94 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.3804, allocations: 24 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.3805, allocations: 55.83 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.3806, allocations: 103.5 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.3811, allocations: 314.5 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3811, allocations: 4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3811, allocations: 4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3811, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 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.0007933/0.3819, allocations: 425.7 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3819, allocations: 12.03 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.3821, allocations: 36.73 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.3826, allocations: 219.1 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.3826, allocations: 20.81 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.3827, allocations: 16.38 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.3831, allocations: 199.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3831, allocations: 192 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3831, allocations: 11.92 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3831, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.3836, allocations: 165.7 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009334/0.3845, allocations: 0.5493 MB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.3849, allocations: 146.6 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.385, allocations: 64.81 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.3851, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.3851, allocations: 30.56 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.3851, allocations: 3.938 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006456/0.3857, allocations: 225.3 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3858, allocations: 51.41 kB / 1.333 GB, free: 11.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.386, allocations: 179.5 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.386, allocations: 29.7 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3861, allocations: 144.5 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.3862, allocations: 39.64 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.3862, allocations: 57.69 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3864, allocations: 322.8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3866, allocations: 59.97 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.3868, allocations: 99.16 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.3871, allocations: 146.6 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3871, allocations: 0 / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000482/0.3876, allocations: 199.4 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3876, allocations: 7.938 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3877, allocations: 8 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3877, allocations: 0 / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.3879, allocations: 35.97 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3879, allocations: 7.938 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.388, allocations: 23.81 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.388, allocations: 12.16 kB / 1.334 GB, free: 10.34 MB / 1.029 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.000196/0.3882, allocations: 134.3 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.3883, allocations: 19.84 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.3883, allocations: 25.8 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3883, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3883, allocations: 4 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3883, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.3887, allocations: 252.5 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3887, allocations: 3.938 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.3888, allocations: 23.97 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3888, allocations: 0 / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3888, allocations: 0 / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3888, allocations: 4 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3888, allocations: 0 / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.3893, allocations: 276.9 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.3893, allocations: 15.84 kB / 1.335 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.3894, allocations: 4 kB / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3895, allocations: 11.98 kB / 1.335 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.3895, allocations: 19.97 kB / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3896, allocations: 4 kB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.685e-05/0.3897, allocations: 123.5 kB / 1.335 GB, free: 9.375 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3897, allocations: 0 / 1.335 GB, free: 9.375 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002843/0.3899, allocations: 43.89 kB / 1.335 GB, free: 9.332 MB / 1.029 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.0001272/0.3901, allocations: 109.5 kB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.3905, allocations: 147.7 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3905, allocations: 4.312 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3907, allocations: 71.89 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.391, allocations: 22.44 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009325/0.3919, allocations: 370.7 kB / 1.336 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.3924, allocations: 0.7359 MB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.3925, allocations: 23.38 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.3925, allocations: 0 / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of Templates: time 0.00503/0.3975, allocations: 2.199 MB / 1.338 GB, free: 5.605 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.150715038995259]