Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009178/0.009178, allocations: 101.2 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 189.4 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.944/2.944, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4016, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002024/0.4037, allocations: 0.6595 MB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.4048, allocations: 0.8083 MB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.4048, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.4049, allocations: 3.938 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.116e-05/0.4049, allocations: 3.938 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.4051, allocations: 19.91 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.4052, allocations: 19.98 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4053, allocations: 7.938 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.4054, allocations: 8 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.4055, allocations: 19.92 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.4055, allocations: 3.938 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.4055, allocations: 4 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.4055, allocations: 0 / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.4055, allocations: 11.92 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.707e-05/0.4056, allocations: 23.89 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4057, allocations: 0 / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4057, allocations: 0 / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4057, allocations: 4 kB / 1.168 GB, free: 5.16 MB / 0.92 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.0004739/0.4062, allocations: 343.4 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4062, allocations: 8.031 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.4062, allocations: 4.938 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.4064, allocations: 164.3 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4064, allocations: 4.375 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.4064, allocations: 384 / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.4066, allocations: 50.23 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4066, allocations: 192 / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4066, allocations: 3.938 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4066, allocations: 8 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.4068, allocations: 35.89 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.4072, allocations: 241 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4073, allocations: 42.48 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.4074, allocations: 24.91 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4074, allocations: 0 / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.4074, allocations: 30.56 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4074, allocations: 3.938 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000356/0.4078, allocations: 81.64 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.4078, allocations: 55.53 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/0.4079, allocations: 105.8 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.408, allocations: 25.7 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.408, allocations: 84.14 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.408, allocations: 7.953 kB / 1.169 GB, free: 3.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.4081, allocations: 13.72 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4082, allocations: 310.8 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.4083, allocations: 19.97 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.4084, allocations: 15.98 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.4086, allocations: 40.77 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4086, allocations: 0 / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.4088, allocations: 81.48 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4088, allocations: 8.094 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4088, allocations: 3.938 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4088, allocations: 0 / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.4089, allocations: 11.98 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.4089, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.409, allocations: 4 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.409, allocations: 3.984 kB / 1.17 GB, free: 3.133 MB / 0.92 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 7.514e-05/0.4091, allocations: 113.8 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.4091, allocations: 4 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.4093, allocations: 72.72 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4093, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4094, allocations: 4 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.4094, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.4095, allocations: 161.6 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4095, allocations: 0 / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.4096, allocations: 4 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4096, allocations: 8.031 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.4096, allocations: 4 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4096, allocations: 0 / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4096, allocations: 3.984 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.4099, allocations: 163.4 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.4099, allocations: 88.98 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.4099, allocations: 4.031 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.41, allocations: 4 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.41, allocations: 3.984 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.4101, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.4101, allocations: 79.28 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4101, allocations: 4 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002075/0.4103, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 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.0001423/0.4105, allocations: 99.25 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.4107, allocations: 39.95 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4107, allocations: 0 / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.927e-05/0.4108, allocations: 19.92 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.4111, allocations: 14.12 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.4114, allocations: 101.6 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.4116, allocations: 0.6806 MB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.4117, allocations: 0 / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.4117, allocations: 7.438 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of SimCode: time 6.71e-07/0.4117, allocations: 0 / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of Templates: time 0.002689/0.4144, allocations: 448.2 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches