Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001046/0.001046, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001197/0.001197, allocations: 165 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 1.036/1.036, allocations: 177.2 MB / 204.6 MB, free: 5.484 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 2.047/2.047, allocations: 377.9 MB / 0.624 GB, free: 8.328 MB / 0.5886 GB " [Timeout remaining time 177] 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.106e-05, allocations: 3.125 kB / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.005754/0.005776, allocations: 0.7657 MB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009007/0.006676, allocations: 0.8614 MB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.00671, allocations: 0 / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.006734, allocations: 3.938 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.006795, allocations: 4.203 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.804e-05/0.006873, allocations: 11.98 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.498e-05/0.006948, allocations: 48.08 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.431e-05/0.007012, allocations: 4.984 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.007091, allocations: 33.27 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.972e-05/0.00713, allocations: 14.55 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.007147, allocations: 4.766 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.007156, allocations: 4 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.007173, allocations: 9.859 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.007192, allocations: 10.33 kB / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.335e-05/0.007265, allocations: 37.36 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007267, allocations: 0.5312 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.007268, allocations: 0.5469 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.007272, allocations: 1.562 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.0002668/0.007538, allocations: 244.9 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.007567, allocations: 8.031 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.007588, allocations: 6.156 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.007662, allocations: 118.4 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.007672, allocations: 4.375 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.007679, allocations: 5.875 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.007784, allocations: 58.94 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.00779, allocations: 192 / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.007796, allocations: 384 / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.007801, allocations: 5.641 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.301e-05/0.007824, allocations: 12.62 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.008015, allocations: 152.2 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.901e-05/0.008064, allocations: 27.31 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.008082, allocations: 13.81 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.008094, allocations: 4 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.008114, allocations: 35.88 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.008115, allocations: 3.938 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.003126/0.01124, allocations: 45.62 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.01127, allocations: 51.41 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.01133, allocations: 111.7 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.01134, allocations: 25.7 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.01138, allocations: 89.03 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.0114, allocations: 7.953 kB / 0.7629 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.01143, allocations: 17.7 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.01151, allocations: 319.4 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.01152, allocations: 2.812 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.01154, allocations: 11.94 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.109e-05/0.01157, allocations: 13.12 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01157, allocations: 0 / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.976e-05/0.01163, allocations: 45.67 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01164, allocations: 4 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01165, allocations: 4 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01166, allocations: 3.938 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.01173, allocations: 15.02 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-06/0.01173, allocations: 0 / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.01176, allocations: 8 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.01177, allocations: 4 kB / 0.7633 GB, free: 3.156 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.168e-05/0.01182, allocations: 109.8 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.01184, allocations: 7.984 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/0.01192, allocations: 45.69 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01192, allocations: 5.625 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01192, allocations: 0 / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01192, allocations: 3.984 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.01203, allocations: 69.89 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.01204, allocations: 1 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.009e-05/0.01208, allocations: 11.98 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.01208, allocations: 0 / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.01208, allocations: 0.6562 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01208, allocations: 0.6562 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.01208, allocations: 0 / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.879e-05/0.01217, allocations: 144.1 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.01218, allocations: 11.89 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.01219, allocations: 9.828 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.01225, allocations: 4 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.01227, allocations: 3.984 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.01228, allocations: 3.938 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.449e-05/0.01229, allocations: 16.84 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01229, allocations: 2.438 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001748/0.01247, allocations: 12 kB / 0.7638 GB, free: 2.656 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 8.69e-05/0.01256, allocations: 80.34 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.832e-05/0.01261, allocations: 16.8 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01262, allocations: 2.406 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.97e-05/0.01264, allocations: 12.86 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.0001651/0.0128, allocations: 7.984 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.0002278/0.01303, allocations: 125.1 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.13e-05/0.01307, allocations: 63.28 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.01309, allocations: 1.5 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.01314, allocations: 59.38 kB / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.01315, allocations: 0 / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of Templates: time 0.002252/0.0154, allocations: 0.6802 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.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.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.227830030955374]