Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001355/0.001355, 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.001797/0.001797, allocations: 161 kB / 24.16 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 0.9879/0.9879, allocations: 177.1 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 1.908/1.908, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.577e-05, allocations: 6.031 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001143/0.001159, allocations: 0.6931 MB / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007711/0.00193, allocations: 0.8539 MB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.00196, allocations: 0 / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.001986, allocations: 3.938 kB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.002044, allocations: 2.188 kB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.002192, allocations: 13.27 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.002256, allocations: 23.92 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.103e-05/0.002317, allocations: 7.984 kB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.002383, allocations: 12.97 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.933e-05/0.002413, allocations: 9.531 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.002424, allocations: 1.125 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.549e-05/0.002459, allocations: 11.92 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.002474, allocations: 12.81 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.292e-05/0.002487, allocations: 2.516 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.936e-05/0.002566, allocations: 20.62 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002569, allocations: 4 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.1e-07/0.002569, allocations: 1.766 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.002572, allocations: 0 / 0.7617 GB, free: 4.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002389/0.002811, allocations: 225.7 kB / 0.7619 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.00284, allocations: 8.938 kB / 0.7619 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.002917, allocations: 8.891 kB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.212e-05/0.002989, allocations: 118.3 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.002998, allocations: 384 / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-06/0.003007, allocations: 5.812 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.226e-05/0.003089, allocations: 56.25 kB / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.003096, allocations: 192 / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.003102, allocations: 384 / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.003107, allocations: 2.219 kB / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.003126, allocations: 11.88 kB / 0.7621 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.003298, allocations: 144.3 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.662e-05/0.003335, allocations: 18.58 kB / 0.7623 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.206e-05/0.003347, allocations: 10.27 kB / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.003359, allocations: 0 / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.00338, allocations: 34.5 kB / 0.7623 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.003381, allocations: 1.25 kB / 0.7623 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.9e-05/0.00347, allocations: 37.73 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.003499, allocations: 56.22 kB / 0.7624 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.747e-05/0.003547, allocations: 111.9 kB / 0.7625 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.003555, allocations: 25.7 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.003579, allocations: 80.14 kB / 0.7626 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.003593, allocations: 8.922 kB / 0.7626 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.003614, allocations: 13.72 kB / 0.7626 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.057e-05/0.003684, allocations: 314.8 kB / 0.7629 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-06/0.003691, allocations: 4.531 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-06/0.003696, allocations: 1.812 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.883e-05/0.003715, allocations: 16.78 kB / 0.763 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.003718, allocations: 4.781 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.422e-05/0.003752, allocations: 29.7 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.003763, allocations: 13.2 kB / 0.763 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.003766, allocations: 0 / 0.763 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.003776, allocations: 0.875 kB / 0.763 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.003826, allocations: 9.438 kB / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.003828, allocations: 0 / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.003841, allocations: 4 kB / 0.763 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-06/0.003844, allocations: 0 / 0.763 GB, free: 3.418 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 (2): * Single equations (assignments): 2 * 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 4.62e-05/0.003891, allocations: 119.1 kB / 0.7631 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.003902, allocations: 4 kB / 0.7631 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.003953, allocations: 41.69 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.003954, allocations: 0.6562 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.003957, allocations: 4.594 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.003959, allocations: 0 / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.195e-05/0.004031, allocations: 67.25 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004032, allocations: 0 / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.004049, allocations: 11.98 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.00405, allocations: 3.641 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-06/0.004053, allocations: 0 / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.004054, allocations: 0 / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004055, allocations: 0 / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.93e-05/0.004124, allocations: 147.6 kB / 0.7634 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.004131, allocations: 11.92 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-06/0.004139, allocations: 2.906 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.004168, allocations: 4 kB / 0.7634 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.004194, allocations: 3.984 kB / 0.7634 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.004195, allocations: 0 / 0.7634 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.03e-05/0.004206, allocations: 12.8 kB / 0.7634 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.004206, allocations: 0.9844 kB / 0.7634 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001107/0.004317, allocations: 4 kB / 0.7635 GB, free: 2.949 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 (2): * Single equations (assignments): 2 * 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 6.398e-05/0.004381, allocations: 73.08 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.564e-05/0.004426, allocations: 22.16 kB / 0.7635 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.004428, allocations: 0 / 0.7635 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.004442, allocations: 16.05 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.004555, allocations: 5.719 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.004726, allocations: 108.6 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.836e-05/0.004754, allocations: 55.36 kB / 0.7637 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.287e-05/0.004767, allocations: 4.75 kB / 0.7637 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.004803, allocations: 51.38 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of SimCode: time 6.12e-07/0.004803, allocations: 3.031 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of Templates: time 0.001704/0.006507, allocations: 443.9 kB / 0.7642 GB, free: 2.145 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.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.036916149780154]