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.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.00131/0.00131, allocations: 110.2 kB / 19.69 MB, free: 2.242 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.001446/0.001446, allocations: 216.2 kB / 23.01 MB, free: 5.035 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.197/3.197, allocations: 0.49 GB / 0.7958 GB, free: 33.34 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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.002111/0.002111, allocations: 77.95 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.003487/0.3419, allocations: 1.769 MB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3437, allocations: 1.19 MB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.3439, allocations: 8 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.344, allocations: 55.27 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.3442, allocations: 63.34 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.3446, allocations: 179.8 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000532/0.3452, allocations: 0.5048 MB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.3456, allocations: 213.2 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.3458, allocations: 215.2 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.3461, allocations: 246.8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.3462, allocations: 60 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.296e-05/0.3463, allocations: 56 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3464, allocations: 119.7 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.3466, allocations: 246.7 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.3474, allocations: 0.6961 MB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3474, allocations: 0 / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3474, allocations: 0 / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.3475, allocations: 0 / 1.333 GB, free: 11.8 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.001521/0.349, allocations: 0.7052 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.349, allocations: 8.031 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.3492, allocations: 60.56 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.3503, allocations: 420.5 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.3504, allocations: 37.38 kB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.3505, allocations: 40.38 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3515, allocations: 0.5062 MB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3516, allocations: 192 / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.3516, allocations: 19.94 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.3516, allocations: 15.94 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.3528, allocations: 426.2 kB / 1.335 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.3547, allocations: 1.193 MB / 1.336 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009475/0.3556, allocations: 395.7 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.3562, allocations: 202.5 kB / 1.337 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.3563, allocations: 8 kB / 1.337 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.3563, allocations: 38.56 kB / 1.337 GB, free: 7.598 MB / 1.029 GB Notification: Performance of pre-optimization done (n=41): time 2.314e-06/0.3563, allocations: 0 / 1.337 GB, free: 7.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.001818/0.3581, allocations: 0.5689 MB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.3582, allocations: 114.7 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.3585, allocations: 296 kB / 1.338 GB, free: 6.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.3586, allocations: 33.7 kB / 1.338 GB, free: 6.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.3587, allocations: 220.7 kB / 1.338 GB, free: 6.328 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3588, allocations: 126.9 kB / 1.338 GB, free: 6.203 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.359, allocations: 98.09 kB / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3592, allocations: 342.8 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.3597, allocations: 160.7 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.3603, allocations: 249.7 kB / 1.339 GB, free: 5.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.3614, allocations: 395.4 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3614, allocations: 0 / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001283/0.3626, allocations: 478.9 kB / 1.34 GB, free: 4.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3627, allocations: 12.25 kB / 1.34 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3627, allocations: 3.938 kB / 1.34 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.3627, allocations: 8 kB / 1.34 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.3632, allocations: 95.8 kB / 1.34 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.3632, allocations: 11.92 kB / 1.34 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.3635, allocations: 59.73 kB / 1.34 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.3635, allocations: 20 kB / 1.34 GB, free: 4.223 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.0002857/0.3638, allocations: 177.5 kB / 1.34 GB, free: 4.039 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3639, allocations: 35.77 kB / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.364, allocations: 42.14 kB / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.364, allocations: 7.938 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3641, allocations: 4 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.3641, allocations: 7.984 kB / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/0.3648, allocations: 432.2 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3648, allocations: 0 / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.3652, allocations: 83.86 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.3652, allocations: 7.984 kB / 1.34 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.3652, allocations: 11.98 kB / 1.341 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3652, allocations: 3.938 kB / 1.341 GB, free: 3.375 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3652, allocations: 8 kB / 1.341 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.3665, allocations: 0.6574 MB / 1.341 GB, free: 2.691 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.3666, allocations: 35.69 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.3666, allocations: 12 kB / 1.341 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.367, allocations: 43.89 kB / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.3671, allocations: 59.91 kB / 1.341 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.3672, allocations: 16 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001732/0.3673, allocations: 175.1 kB / 1.341 GB, free: 2.355 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3673, allocations: 3.938 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004836/0.3678, allocations: 95.67 kB / 1.342 GB, free: 2.258 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.000155/0.368, allocations: 119.2 kB / 1.342 GB, free: 2.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.3692, allocations: 396 kB / 1.342 GB, free: 1.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3692, allocations: 0 / 1.342 GB, free: 1.742 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.3698, allocations: 216.5 kB / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.3704, allocations: 46.47 kB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.3718, allocations: 0.722 MB / 1.343 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.3723, allocations: 0.8192 MB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.3724, allocations: 43.42 kB / 1.344 GB, free: 15.83 MB / 1.045 GB Notification: Performance of SimCode: time 1.443e-06/0.3724, allocations: 0 / 1.344 GB, free: 15.83 MB / 1.045 GB Notification: Performance of Templates: time 0.008247/0.3807, allocations: 4.885 MB / 1.349 GB, free: 10.97 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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: 11.322868568997364]