Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009295/0.0009295, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.00107/0.00107, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 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.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.171/2.171, allocations: 429.5 MB / 0.6733 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.474e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001537/0.001572, allocations: 0.6819 MB / 0.8789 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008598/0.002431, allocations: 0.8564 MB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.002465, allocations: 1.656 kB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.002497, allocations: 3.938 kB / 0.8798 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.002569, allocations: 6.062 kB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.002763, allocations: 8 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.451e-05/0.002837, allocations: 33.5 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.002928, allocations: 0 / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.003006, allocations: 17.36 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.681e-05/0.003043, allocations: 15.92 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.003057, allocations: 0 / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.867e-05/0.003106, allocations: 11.94 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.003123, allocations: 4.75 kB / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.003142, allocations: 0 / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.003251, allocations: 33.23 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.003255, allocations: 0 / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.003256, allocations: 0 / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.003262, allocations: 0 / 0.8799 GB, free: 4.574 MB / 0.8386 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.0003593/0.003621, allocations: 358 kB / 0.8802 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.003662, allocations: 8.031 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.003771, allocations: 4.938 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.923e-05/0.00386, allocations: 114.1 kB / 0.8803 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.003872, allocations: 4.375 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.00388, allocations: 384 / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.004016, allocations: 66.86 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004023, allocations: 1.656 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.004033, allocations: 384 / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.004041, allocations: 384 / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.068e-05/0.004071, allocations: 7.938 kB / 0.8804 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.004377, allocations: 246.9 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.719e-05/0.004444, allocations: 31.06 kB / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.00447, allocations: 11.75 kB / 0.8807 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.004492, allocations: 3.938 kB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.004518, allocations: 33.39 kB / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.00452, allocations: 0 / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001683/0.004688, allocations: 46.25 kB / 0.8808 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.004719, allocations: 55.41 kB / 0.8808 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.004791, allocations: 158.1 kB / 0.881 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.004804, allocations: 29.7 kB / 0.881 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.004848, allocations: 126.9 kB / 0.8811 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.004868, allocations: 7.938 kB / 0.8811 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.004898, allocations: 19.38 kB / 0.8812 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.005011, allocations: 496.1 kB / 0.8816 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.005028, allocations: 4 kB / 0.8816 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-06/0.005037, allocations: 3.938 kB / 0.8816 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.005067, allocations: 11.69 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005069, allocations: 0 / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.014e-05/0.005129, allocations: 49.7 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.005147, allocations: 8 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.005154, allocations: 7.875 kB / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.00517, allocations: 0 / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.496e-05/0.005255, allocations: 4 kB / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.00526, allocations: 0 / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.005278, allocations: 7.984 kB / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.005284, allocations: 0 / 0.8817 GB, free: 2.484 MB / 0.8386 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.485e-05/0.005349, allocations: 156.5 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.005366, allocations: 12.03 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.929e-05/0.005465, allocations: 48.94 kB / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.005468, allocations: 0 / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.005472, allocations: 0 / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.005475, allocations: 0 / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.696e-05/0.005572, allocations: 116.6 kB / 0.882 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.005573, allocations: 0 / 0.882 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.005604, allocations: 4 kB / 0.882 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.005607, allocations: 0 / 0.882 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.005613, allocations: 4 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.005615, allocations: 3.938 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005616, allocations: 4.031 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.005718, allocations: 187.9 kB / 0.8822 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.005727, allocations: 7.953 kB / 0.8822 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.005738, allocations: 0 / 0.8822 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.005771, allocations: 11.92 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.005811, allocations: 0 / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.005814, allocations: 0 / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.058e-05/0.005854, allocations: 131.4 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005854, allocations: 0 / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001334/0.005988, allocations: 4 kB / 0.8824 GB, free: 1.734 MB / 0.8386 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.0001115/0.006099, allocations: 99.27 kB / 0.8825 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.181e-05/0.006191, allocations: 15.62 kB / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.006193, allocations: 4 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.006209, allocations: 7.688 kB / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.006411, allocations: 8 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.006698, allocations: 114.5 kB / 0.8826 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.006739, allocations: 59.34 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.006757, allocations: 4 kB / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.006791, allocations: 16.44 kB / 0.8827 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of SimCode: time 9.22e-07/0.006791, allocations: 0 / 0.8827 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of Templates: time 0.002453/0.009245, allocations: 0.5139 MB / 0.8832 GB, free: 0.8477 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.522761288098991]