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.0009571/0.0009571, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001024/0.001024, allocations: 161 kB / 24.17 MB, free: 328 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 0.9446/0.9446, allocations: 177.1 MB / 204.6 MB, free: 5.176 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.877/1.877, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.465e-06/2.465e-06, allocations: 0 / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.344e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001807/0.00183, allocations: 0.7094 MB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.002847, allocations: 0.8478 MB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.002884, allocations: 4.656 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.002913, allocations: 9.078 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.633e-05/0.002989, allocations: 7.297 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.572e-05/0.003085, allocations: 11.98 kB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.309e-05/0.003168, allocations: 44.19 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.003247, allocations: 11.98 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.003346, allocations: 26.89 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.003393, allocations: 13.19 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.003415, allocations: 5.672 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.003426, allocations: 4 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.003448, allocations: 10.61 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.00347, allocations: 9.75 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.558e-05/0.003555, allocations: 33.75 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.003558, allocations: 3.984 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003559, allocations: 1.359 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.003562, allocations: 0 / 0.7618 GB, free: 4.832 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.0003399/0.003902, allocations: 249.9 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.003941, allocations: 8.031 kB / 0.762 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.003971, allocations: 5.656 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.122e-05/0.004062, allocations: 117.7 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004073, allocations: 5.375 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.004085, allocations: 8.312 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.004218, allocations: 59.72 kB / 0.7622 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.004226, allocations: 192 / 0.7622 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.004235, allocations: 5.562 kB / 0.7622 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.004243, allocations: 4.375 kB / 0.7622 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.321e-05/0.004276, allocations: 11.92 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.004501, allocations: 149.3 kB / 0.7624 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.356e-05/0.004565, allocations: 26.64 kB / 0.7624 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.004585, allocations: 13.41 kB / 0.7624 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.0046, allocations: 1.781 kB / 0.7624 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.004624, allocations: 34.56 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004625, allocations: 0 / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001298/0.004755, allocations: 45.66 kB / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.004787, allocations: 55.41 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.004854, allocations: 111.9 kB / 0.7627 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.004866, allocations: 29.7 kB / 0.7627 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.004902, allocations: 92.08 kB / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.00492, allocations: 4.703 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.004952, allocations: 13.72 kB / 0.7628 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.005045, allocations: 319.6 kB / 0.7631 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.005062, allocations: 4 kB / 0.7631 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.005076, allocations: 5.188 kB / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.716e-05/0.005113, allocations: 20.78 kB / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.005115, allocations: 0 / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7e-05/0.005185, allocations: 38.7 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.005205, allocations: 9.703 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005209, allocations: 4 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.005223, allocations: 4.969 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.005304, allocations: 8 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.005306, allocations: 0.9375 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.005337, allocations: 7.984 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.005344, allocations: 336 / 0.7632 GB, free: 3.242 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 5.856e-05/0.005402, allocations: 107 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.005424, allocations: 4 kB / 0.7633 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-05/0.005519, allocations: 60.34 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.005522, allocations: 7.875 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.005523, allocations: 0 / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.005527, allocations: 0 / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.005646, allocations: 77.81 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.005648, allocations: 0 / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.005698, allocations: 8 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005699, allocations: 2.469 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.005705, allocations: 3.984 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.005706, allocations: 4 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.005707, allocations: 0 / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.313e-05/0.0058, allocations: 147.5 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.005808, allocations: 3.953 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.005818, allocations: 4 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.00588, allocations: 8.609 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.005911, allocations: 5.031 kB / 0.7636 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.005916, allocations: 3.938 kB / 0.7636 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.82e-05/0.005934, allocations: 20.83 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005934, allocations: 2.312 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002098/0.006144, allocations: 8 kB / 0.7637 GB, free: 2.727 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.416e-05/0.006238, allocations: 72.42 kB / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.598e-05/0.006304, allocations: 20.84 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.006307, allocations: 0.875 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/0.006329, allocations: 12.8 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.006515, allocations: 12.02 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.00677, allocations: 132.5 kB / 0.7639 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.704e-05/0.006807, allocations: 55.3 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.006833, allocations: 6.438 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.006888, allocations: 55.36 kB / 0.764 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.006889, allocations: 0 / 0.764 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of Templates: time 0.00268/0.009569, allocations: 0.6769 MB / 0.7647 GB, free: 1.668 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 -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.041828092187643]