Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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.001312/0.001312, 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.001085/0.001085, allocations: 161 kB / 24.16 MB, free: 336 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.015/1.015, 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.952/1.952, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.775e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002359/0.002387, allocations: 0.7289 MB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.003776, allocations: 0.8638 MB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.003822, allocations: 0.7812 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.003851, allocations: 0 / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.515e-05/0.003937, allocations: 10.33 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.004131, allocations: 8.859 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.237e-05/0.004214, allocations: 27.92 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.004307, allocations: 0 / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.004431, allocations: 17.91 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.004485, allocations: 8.875 kB / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.004508, allocations: 4.656 kB / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-05/0.004605, allocations: 9.156 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.004635, allocations: 4.969 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.004659, allocations: 4.656 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.004795, allocations: 18.69 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.004799, allocations: 1.312 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.0048, allocations: 0 / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.004806, allocations: 0 / 0.7618 GB, free: 4.852 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.0004077/0.005214, allocations: 233.7 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.005259, allocations: 8.031 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.005377, allocations: 13.58 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.005484, allocations: 109.7 kB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.005495, allocations: 1.125 kB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.005503, allocations: 384 / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.005631, allocations: 61.06 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.00564, allocations: 192 / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.005648, allocations: 1.578 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.005657, allocations: 4.375 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.846e-05/0.005685, allocations: 3.938 kB / 0.7622 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.00595, allocations: 149.6 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/0.006, allocations: 22.58 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.006016, allocations: 4.859 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.006029, allocations: 1.25 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.006057, allocations: 38.62 kB / 0.7624 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.006058, allocations: 0 / 0.7624 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001108/0.006169, allocations: 42.92 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.0062, allocations: 55.34 kB / 0.7625 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.006261, allocations: 99.59 kB / 0.7626 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.006275, allocations: 26.45 kB / 0.7626 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.006311, allocations: 88.11 kB / 0.7627 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.006324, allocations: 11.2 kB / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.006355, allocations: 13.72 kB / 0.7627 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.006454, allocations: 314.8 kB / 0.763 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.006462, allocations: 0 / 0.763 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.006471, allocations: 4 kB / 0.763 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.006496, allocations: 13.5 kB / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006497, allocations: 0 / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.09e-05/0.006548, allocations: 36.67 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.006559, allocations: 8 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.006562, allocations: 0 / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.006569, allocations: 0 / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.006629, allocations: 12.69 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-06/0.006631, allocations: 0 / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.006654, allocations: 4 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-06/0.006657, allocations: 0 / 0.7631 GB, free: 3.355 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 6.759e-05/0.006725, allocations: 119.3 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.006753, allocations: 3.984 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.006824, allocations: 49.12 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.006827, allocations: 5.516 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.00683, allocations: 9 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.006832, allocations: 0 / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.006947, allocations: 61.91 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006947, allocations: 2.5 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.006981, allocations: 7.984 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.006983, allocations: 0 / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-06/0.006986, allocations: 0 / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006987, allocations: 0.6562 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006988, allocations: 4 kB / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.889e-05/0.007077, allocations: 138.6 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.007085, allocations: 3.953 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-06/0.007093, allocations: 0 / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.007152, allocations: 4 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.007176, allocations: 12.91 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.007178, allocations: 0 / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.266e-05/0.007191, allocations: 12.8 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.007191, allocations: 0 / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002174/0.007409, allocations: 4 kB / 0.7635 GB, free: 2.887 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 0.0001299/0.007538, allocations: 78.02 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.007631, allocations: 14.22 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.007633, allocations: 0 / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-05/0.00765, allocations: 12.84 kB / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.007808, allocations: 15.03 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.008024, allocations: 112.5 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.012e-05/0.008055, allocations: 51.36 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.63e-05/0.008071, allocations: 4 kB / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.00811, allocations: 53.58 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/0.00811, allocations: 0 / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of Templates: time 0.001755/0.009865, allocations: 462.4 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.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.031668287701905]