Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001394/0.001394, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001699/0.001699, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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.01/1.01, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.987/1.987, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.115e-05, allocations: 2.938 kB / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002025/0.002046, allocations: 0.7669 MB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.003181, allocations: 0.8482 MB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.003229, allocations: 2 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.003264, allocations: 3.938 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.433e-05/0.003358, allocations: 7 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.003484, allocations: 16.47 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.003598, allocations: 43.38 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.003706, allocations: 13 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.00383, allocations: 26.5 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.003885, allocations: 13.52 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.00391, allocations: 4.531 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.003923, allocations: 5.531 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.003958, allocations: 9.625 kB / 0.7619 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.003986, allocations: 9.641 kB / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.004091, allocations: 33.64 kB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004093, allocations: 1.219 kB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004093, allocations: 0 / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.004097, allocations: 3.938 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000328/0.004425, allocations: 249.9 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.004461, allocations: 8.031 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.004491, allocations: 8.922 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.004587, allocations: 118.7 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.004596, allocations: 384 / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.004607, allocations: 8.875 kB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.004743, allocations: 59.69 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.004752, allocations: 192 / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.004758, allocations: 1.125 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004764, allocations: 384 / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.004792, allocations: 12.66 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.005041, allocations: 156.2 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/0.005103, allocations: 28.09 kB / 0.7625 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.005122, allocations: 8.859 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.005135, allocations: 0 / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.005158, allocations: 35.81 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.005159, allocations: 0 / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001297/0.005288, allocations: 49.66 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.005317, allocations: 52.66 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.005392, allocations: 110.7 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.005403, allocations: 25.7 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.005442, allocations: 92.09 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.005465, allocations: 9.188 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.005499, allocations: 17.7 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.005593, allocations: 310.8 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.00561, allocations: 10.91 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.005624, allocations: 4 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.005658, allocations: 17.12 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005659, allocations: 0 / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.412e-05/0.005723, allocations: 45.61 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.005737, allocations: 10.34 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.005741, allocations: 0 / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.005755, allocations: 3.938 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.005838, allocations: 15.02 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.005842, allocations: 3.938 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.005876, allocations: 11.98 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.005883, allocations: 0 / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.538e-05/0.005948, allocations: 113.8 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.00597, allocations: 0 / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.363e-05/0.006064, allocations: 53.61 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.00607, allocations: 9.438 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006071, allocations: 0 / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.006074, allocations: 0 / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.006193, allocations: 65.84 kB / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.006196, allocations: 8.641 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.006243, allocations: 9.75 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006245, allocations: 0 / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.006251, allocations: 0 / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006252, allocations: 0 / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.006253, allocations: 0 / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.006356, allocations: 145.9 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.006366, allocations: 7.953 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.006378, allocations: 4 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.006438, allocations: 7.938 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.006475, allocations: 3.984 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.00648, allocations: 3.938 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.015e-05/0.0065, allocations: 23.33 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.006501, allocations: 0 / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002096/0.00671, allocations: 8 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 9.645e-05/0.006807, allocations: 76.42 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.467e-05/0.006881, allocations: 12.86 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.006884, allocations: 1.031 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.006911, allocations: 16.78 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.007099, allocations: 8.938 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.007357, allocations: 130.6 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.007399, allocations: 59.3 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.007424, allocations: 0 / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.007485, allocations: 61.81 kB / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.007486, allocations: 0 / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of Templates: time 0.002656/0.01014, allocations: 0.6762 MB / 0.7648 GB, free: 1.594 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0868224310688674]