Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.001315/0.001315, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001498/0.001498, allocations: 215.1 kB / 23.04 MB, free: 4.867 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.135/3.135, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.002044/0.002044, allocations: 62.12 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3193, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002617/0.3219, allocations: 1.213 MB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3234, allocations: 1.112 MB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.3236, allocations: 7.938 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.3237, allocations: 35.61 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.3238, allocations: 43.61 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3241, allocations: 115.8 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.3245, allocations: 300.4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.3247, allocations: 121.4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.3249, allocations: 115.6 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.3251, allocations: 115.3 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.3251, allocations: 32 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.078e-05/0.3252, allocations: 39.94 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.3253, allocations: 67.81 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.3254, allocations: 107.5 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.3258, allocations: 418.2 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3258, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3258, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3258, allocations: 3.938 kB / 1.331 GB, free: 13.18 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008679/0.3267, allocations: 494.8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3267, allocations: 12.03 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.3269, allocations: 44.73 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.3275, allocations: 259.4 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.3275, allocations: 21.03 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.3276, allocations: 28.31 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.3281, allocations: 264.3 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3281, allocations: 192 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.3281, allocations: 15.94 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3281, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.3286, allocations: 190.5 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.3295, allocations: 0.5551 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.33, allocations: 166.7 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.3302, allocations: 72.81 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3302, allocations: 7.938 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3302, allocations: 34.56 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.3302, allocations: 0 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0006545/0.3309, allocations: 227.2 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3309, allocations: 55.39 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3311, allocations: 219.6 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3312, allocations: 33.7 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3313, allocations: 168.7 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.3313, allocations: 51.53 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/0.3314, allocations: 61.92 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3316, allocations: 330.8 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.3318, allocations: 64.42 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.332, allocations: 124.4 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.3324, allocations: 172.4 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3324, allocations: 0 / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004951/0.3329, allocations: 238.6 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3329, allocations: 4 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3329, allocations: 4 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3329, allocations: 4 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.3331, allocations: 39.91 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3331, allocations: 0 / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3333, allocations: 32.09 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3333, allocations: 8 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (27): * Single equations (assignments): 27 * 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.0001507/0.3334, allocations: 158 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.3335, allocations: 19.86 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.3335, allocations: 25.8 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3335, allocations: 4 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3335, allocations: 0 / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.3335, allocations: 0 / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.3338, allocations: 217.2 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3338, allocations: 3.938 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.334, allocations: 31.84 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.334, allocations: 0 / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.334, allocations: 8 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.334, allocations: 4 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.334, allocations: 0 / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.3345, allocations: 277 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.3345, allocations: 31.73 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3345, allocations: 4 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3347, allocations: 11.98 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.3347, allocations: 27.95 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3348, allocations: 11.92 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001333/0.3349, allocations: 141.5 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3349, allocations: 0 / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002871/0.3352, allocations: 43.89 kB / 1.336 GB, free: 7.953 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: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.000135/0.3353, allocations: 116 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004477/0.3358, allocations: 163.7 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3358, allocations: 0 / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.336, allocations: 76.33 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.3363, allocations: 35.56 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.337, allocations: 433.4 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.3372, allocations: 138.9 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.039e-05/0.3372, allocations: 31.42 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3372, allocations: 0 / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of Templates: time 0.004936/0.3422, allocations: 2.829 MB / 1.339 GB, free: 4.113 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.745587873039767]