Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.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.001314/0.001314, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001467/0.001467, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.061/3.061, 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.DualDuctSnapActing.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") [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.002013/0.002013, allocations: 72.27 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.306, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.003113/0.3091, allocations: 1.592 MB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3107, allocations: 1.178 MB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.3108, allocations: 11.94 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.3109, allocations: 51.33 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.3111, allocations: 59.34 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.3115, allocations: 191.7 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.312, allocations: 0.5048 MB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.3124, allocations: 197.2 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.3126, allocations: 203.3 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.3128, allocations: 210.9 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.372e-05/0.3129, allocations: 56 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.155e-05/0.313, allocations: 63.94 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3131, allocations: 123.6 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.3133, allocations: 202.9 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.3139, allocations: 0.6962 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3139, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3139, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3139, allocations: 0 / 1.332 GB, free: 11.63 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001335/0.3153, allocations: 0.696 MB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3153, allocations: 15.97 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3154, allocations: 64.55 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.3166, allocations: 412.5 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.3167, allocations: 45.31 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.3167, allocations: 40.38 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.3178, allocations: 0.4985 MB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3178, allocations: 4.188 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.3179, allocations: 19.94 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3179, allocations: 15.94 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.3192, allocations: 430.1 kB / 1.335 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.3208, allocations: 1.03 MB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.3217, allocations: 383.8 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.3223, allocations: 214.4 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.3224, allocations: 4 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.3224, allocations: 42.5 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of pre-optimization done (n=41): time 2.014e-06/0.3224, allocations: 0 / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.001929/0.3244, allocations: 0.5702 MB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.3244, allocations: 110.8 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.3247, allocations: 295.9 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.3248, allocations: 37.7 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.3249, allocations: 216.7 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.325, allocations: 123 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.3252, allocations: 98.11 kB / 1.338 GB, free: 6.105 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3253, allocations: 342.8 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.3259, allocations: 168.7 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.3265, allocations: 245.6 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3277, allocations: 395.1 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3277, allocations: 4 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001331/0.329, allocations: 478.8 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.329, allocations: 12.03 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.329, allocations: 7.938 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.329, allocations: 4 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.3295, allocations: 95.86 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.3296, allocations: 11.88 kB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.3299, allocations: 67.67 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.3299, allocations: 16 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002575/0.3302, allocations: 184.1 kB / 1.34 GB, free: 4.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/0.3303, allocations: 27.81 kB / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.782e-05/0.3304, allocations: 42.14 kB / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3304, allocations: 8 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3304, allocations: 3.938 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3304, allocations: 7.984 kB / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.3309, allocations: 321 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3309, allocations: 0 / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.3313, allocations: 79.86 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3313, allocations: 7.938 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.3314, allocations: 11.98 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3314, allocations: 4 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3314, allocations: 0 / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.3327, allocations: 0.6612 MB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.3328, allocations: 35.75 kB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.3328, allocations: 4 kB / 1.341 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.3332, allocations: 43.94 kB / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.3333, allocations: 63.86 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.3333, allocations: 23.92 kB / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001569/0.3335, allocations: 171.1 kB / 1.341 GB, free: 2.484 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3335, allocations: 7.938 kB / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004496/0.3339, allocations: 91.67 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001367/0.3341, allocations: 123.9 kB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.3354, allocations: 399.5 kB / 1.342 GB, free: 1.863 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3354, allocations: 0 / 1.342 GB, free: 1.863 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/0.336, allocations: 208.2 kB / 1.342 GB, free: 1.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.3365, allocations: 53.5 kB / 1.342 GB, free: 1.605 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.3377, allocations: 0.7263 MB / 1.343 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.338, allocations: 215.8 kB / 1.343 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3381, allocations: 39.42 kB / 1.343 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3381, allocations: 0 / 1.343 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of Templates: time 0.007583/0.3457, allocations: 5.006 MB / 1.348 GB, free: 11.59 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.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.669006739044562]