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.001453/0.001453, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001816/0.001816, allocations: 215 kB / 22.25 MB, free: 5.262 MB / 14.72 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.655/3.655, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 67.41 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4595, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002604/0.4621, allocations: 0.6671 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.4633, allocations: 0.8514 MB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.4634, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.4634, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.989e-05/0.4635, allocations: 7.938 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.4637, allocations: 11.98 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.4638, allocations: 15.94 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.464, allocations: 15.97 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.464, allocations: 4 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.4641, allocations: 15.92 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.4641, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.306e-05/0.4641, allocations: 4 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.4642, allocations: 8 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.4642, allocations: 7.938 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.4643, allocations: 35.81 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4643, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4643, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4643, allocations: 4 kB / 1.365 GB, free: 11.89 MB / 1.061 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.000515/0.4648, allocations: 254.4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4649, allocations: 8.031 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.465, allocations: 8.891 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.4652, allocations: 110.5 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4652, allocations: 4.375 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.4652, allocations: 384 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.4654, allocations: 50.23 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4654, allocations: 4.172 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4654, allocations: 3.938 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4654, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.4656, allocations: 35.95 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.466, allocations: 188.6 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.4661, allocations: 46.53 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/0.4662, allocations: 20.84 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.4662, allocations: 7.938 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4662, allocations: 34.56 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4662, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003651/0.4666, allocations: 85.67 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.4667, allocations: 51.41 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.4667, allocations: 101.8 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.4668, allocations: 25.7 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.4668, allocations: 88.09 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.4668, allocations: 11.89 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.4669, allocations: 13.72 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.467, allocations: 310.8 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.4671, allocations: 19.97 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.4672, allocations: 20.02 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4673, allocations: 32.83 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4673, allocations: 3.938 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.4675, allocations: 77.53 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4675, allocations: 4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4675, allocations: 96 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4676, allocations: 8 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/0.4676, allocations: 7.984 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4676, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.4677, allocations: 4 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.4677, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 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 8.001e-05/0.4678, allocations: 114.9 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.4678, allocations: 3.938 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.468, allocations: 76.97 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.468, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.468, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.468, allocations: 3.938 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.4682, allocations: 105.3 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4682, allocations: 0 / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.4682, allocations: 12 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4682, allocations: 7.922 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.4682, allocations: 0 / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4683, allocations: 0 / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4683, allocations: 4.031 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.4685, allocations: 159.5 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.4685, allocations: 11.94 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.4685, allocations: 0 / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.4686, allocations: 4 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.4686, allocations: 3.984 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.4686, allocations: 3.938 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.4687, allocations: 79.28 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4687, allocations: 32 / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002121/0.4689, allocations: 8 kB / 1.368 GB, free: 9.449 MB / 1.061 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.0001671/0.4691, allocations: 103.2 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.4693, allocations: 35.97 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4693, allocations: 0 / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.4694, allocations: 11.98 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.4697, allocations: 16.44 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.4699, allocations: 101.6 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.323e-05/0.47, allocations: 59.34 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.47, allocations: 7.938 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.4701, allocations: 7.438 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4701, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of Templates: time 0.002824/0.4729, allocations: 486.5 kB / 1.368 GB, free: 8.59 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.939726144075394]