Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.0009877/0.0009877, allocations: 80.8 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.001065/0.001065, 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.052/1.052, allocations: 177.1 MB / 204.6 MB, free: 5.145 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.996/1.996, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.221e-05, allocations: 6.219 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001365/0.001388, allocations: 0.7286 MB / 0.7608 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.002257, allocations: 0.8633 MB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.00229, allocations: 0 / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.00231, allocations: 1.719 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.002361, allocations: 6.453 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.002481, allocations: 11.98 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.335e-05/0.002545, allocations: 23.27 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.002609, allocations: 5.594 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.002676, allocations: 13.52 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.172e-05/0.002707, allocations: 16.95 kB / 0.7618 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.002719, allocations: 0 / 0.7618 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.002756, allocations: 8.594 kB / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.002768, allocations: 4.656 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.126e-05/0.00278, allocations: 6.656 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.009e-05/0.00284, allocations: 12.97 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002842, allocations: 3.938 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.42e-07/0.002842, allocations: 0 / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.002846, allocations: 1.25 kB / 0.7618 GB, free: 4.859 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.0003638/0.003209, allocations: 237.7 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.498e-05/0.003234, allocations: 8.031 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.917e-05/0.003304, allocations: 10.14 kB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.273e-05/0.003356, allocations: 105.7 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-06/0.003362, allocations: 4.375 kB / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-06/0.003367, allocations: 5.984 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.283e-05/0.00343, allocations: 54.95 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-06/0.003434, allocations: 0.7188 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-06/0.003437, allocations: 1.25 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-06/0.00344, allocations: 384 / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.003466, allocations: 16.94 kB / 0.7622 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.00359, allocations: 144.3 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.463e-05/0.003614, allocations: 18.58 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.082e-05/0.003625, allocations: 10.73 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.003637, allocations: 4.062 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.003661, allocations: 30.56 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.003662, allocations: 1.5 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001092/0.003771, allocations: 41.67 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.003803, allocations: 55.34 kB / 0.7625 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.806e-05/0.003861, allocations: 104.6 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.003873, allocations: 30.45 kB / 0.7626 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.003905, allocations: 84.12 kB / 0.7627 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.003921, allocations: 4.703 kB / 0.7627 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.003945, allocations: 17.72 kB / 0.7627 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.004017, allocations: 313 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/0.004025, allocations: 4 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.004033, allocations: 3.984 kB / 0.763 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.936e-05/0.004052, allocations: 8.859 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.004054, allocations: 3.938 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.624e-05/0.00409, allocations: 40.19 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.004103, allocations: 6.438 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004107, allocations: 0 / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.004119, allocations: 0 / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.004173, allocations: 11.94 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.004175, allocations: 0 / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.004189, allocations: 3.125 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.004194, allocations: 4 kB / 0.7631 GB, free: 3.359 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 5.307e-05/0.004247, allocations: 117.8 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.00426, allocations: 0.9844 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.004322, allocations: 49.12 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.004325, allocations: 3.984 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.004327, allocations: 3.938 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.00433, allocations: 1.594 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.296e-05/0.004403, allocations: 61.91 kB / 0.7633 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.004404, allocations: 0 / 0.7633 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.004422, allocations: 11.98 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.004423, allocations: 3.25 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-06/0.004427, allocations: 0.7656 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.004427, allocations: 0 / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004428, allocations: 0 / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.918e-05/0.004497, allocations: 139.5 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.004504, allocations: 7.953 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.004512, allocations: 4 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.837e-05/0.004541, allocations: 0 / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.00457, allocations: 12.11 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.004572, allocations: 4 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.018e-05/0.004583, allocations: 12.8 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004583, allocations: 0 / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001172/0.0047, allocations: 4 kB / 0.7635 GB, free: 2.891 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 8.362e-05/0.004783, allocations: 72.42 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.527e-05/0.004839, allocations: 18.25 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.004841, allocations: 0 / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.395e-05/0.004855, allocations: 12.84 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.004996, allocations: 13.16 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.00521, allocations: 109.9 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.005241, allocations: 59.34 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.517e-05/0.005256, allocations: 0.625 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.005305, allocations: 52.03 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.005305, allocations: 1.062 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.00208/0.007385, allocations: 459.9 kB / 0.7643 GB, free: 2.07 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.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.1239611129276454]