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.001695/0.001695, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002066/0.002066, allocations: 209.9 kB / 22.99 MB, free: 4.957 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.224/3.224, allocations: 0.49 GB / 0.7959 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 176] 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.00205/0.00205, allocations: 70.3 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3034, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002467/0.3058, allocations: 1.075 MB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3072, allocations: 1.05 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.512e-05/0.3073, allocations: 8 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.402e-05/0.3073, allocations: 27.66 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.3075, allocations: 27.73 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.3077, allocations: 91.84 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.308, allocations: 228.2 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.3082, allocations: 104.5 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.3084, allocations: 99.58 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3085, allocations: 99.55 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.3086, allocations: 24 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.205e-05/0.3086, allocations: 31.98 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.3087, allocations: 55.78 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.3088, allocations: 83.53 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.3092, allocations: 314.6 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3092, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3092, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3092, allocations: 0 / 1.33 GB, free: 13.71 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.0007563/0.3099, allocations: 429.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.31, allocations: 12.03 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.3101, allocations: 36.75 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.3106, allocations: 218.5 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.3107, allocations: 24.73 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.3107, allocations: 20.38 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.3111, allocations: 195.8 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3111, allocations: 192 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.3112, allocations: 11.94 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3112, allocations: 8 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.3116, allocations: 157.6 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.3124, allocations: 475.2 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.3128, allocations: 150.6 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.3129, allocations: 64.73 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.313, allocations: 8 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.313, allocations: 30.56 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.313, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006249/0.3136, allocations: 215.5 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3137, allocations: 59.25 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3138, allocations: 183.5 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3139, allocations: 29.7 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.314, allocations: 148.5 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.314, allocations: 43.59 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.3141, allocations: 53.69 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3142, allocations: 326.8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.3144, allocations: 55.95 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.3146, allocations: 97.86 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.315, allocations: 145 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.315, allocations: 3.938 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004602/0.3154, allocations: 206.8 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3155, allocations: 4 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3155, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3155, allocations: 4 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.3157, allocations: 31.97 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3157, allocations: 3.938 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.3158, allocations: 23.88 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3158, allocations: 8 kB / 1.334 GB, free: 10.09 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.000238/0.3161, allocations: 138.5 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.3161, allocations: 23.83 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.3162, allocations: 25.8 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3162, allocations: 0 / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3162, allocations: 4 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3162, allocations: 4 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.3165, allocations: 181.2 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3165, allocations: 0 / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.3166, allocations: 27.92 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3166, allocations: 11.88 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3167, allocations: 7.984 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3167, allocations: 0 / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3167, allocations: 0 / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.3171, allocations: 260.7 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.3172, allocations: 19.78 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.3172, allocations: 15.92 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3173, allocations: 4 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.3174, allocations: 31.95 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3174, allocations: 4 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000109/0.3175, allocations: 123.5 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3175, allocations: 0 / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002971/0.3178, allocations: 35.89 kB / 1.335 GB, free: 9.133 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.0001643/0.318, allocations: 111 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004455/0.3184, allocations: 145.3 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3184, allocations: 0 / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.3186, allocations: 75.89 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.319, allocations: 23.27 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.3196, allocations: 361.1 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.3198, allocations: 125.2 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.956e-05/0.3199, allocations: 21.48 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.3199, allocations: 19.44 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3199, allocations: 0 / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of Templates: time 0.005173/0.3251, allocations: 1.615 MB / 1.337 GB, free: 6.668 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 -s gbode -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: 8.69529164499545]