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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.007786/0.007786, allocations: 101 kB / 15.87 MB, free: 5.867 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.002007/0.002007, allocations: 190.2 kB / 16.79 MB, free: 5.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 70.12 kB / 0.8991 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3774, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002407/0.3798, allocations: 0.7145 MB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.381, allocations: 0.804 MB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.3811, allocations: 0 / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.057e-05/0.3811, allocations: 0 / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.497e-05/0.3813, allocations: 3.938 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.3815, allocations: 11.98 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.3816, allocations: 19.94 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3817, allocations: 11.98 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.3818, allocations: 7.938 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.3819, allocations: 15.91 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.3819, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.3819, allocations: 4 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.3819, allocations: 4 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.382, allocations: 7.938 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.44e-05/0.3821, allocations: 15.97 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3821, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3821, allocations: 4 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3821, allocations: 4 kB / 1.054 GB, free: 6.641 MB / 0.8106 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.0006217/0.3827, allocations: 331.8 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/0.3828, allocations: 11.97 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3829, allocations: 8.844 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.3831, allocations: 172.3 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3831, allocations: 384 / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.3831, allocations: 384 / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3833, allocations: 58.23 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3833, allocations: 192 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3834, allocations: 3.938 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3834, allocations: 4 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.3836, allocations: 31.91 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.384, allocations: 245 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.3842, allocations: 42.5 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.3843, allocations: 24.91 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3843, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3844, allocations: 38.48 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3844, allocations: 0 / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003891/0.3848, allocations: 81.66 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3848, allocations: 51.41 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.3849, allocations: 97.84 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.385, allocations: 29.64 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.385, allocations: 88.14 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.385, allocations: 3.906 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.3851, allocations: 17.7 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3852, allocations: 319 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.3853, allocations: 15.92 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.3854, allocations: 15.98 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3856, allocations: 44.75 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3856, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001983/0.3858, allocations: 73.58 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3858, allocations: 4 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3858, allocations: 3.984 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3858, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.3859, allocations: 8 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.386, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.386, allocations: 7.984 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.386, allocations: 4.031 kB / 1.056 GB, free: 4.613 MB / 0.8106 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.971e-05/0.3861, allocations: 117.8 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.3861, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.3864, allocations: 68.72 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3864, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.3864, allocations: 7.984 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3864, allocations: 0 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3866, allocations: 165.6 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3866, allocations: 0 / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.3867, allocations: 7.984 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3867, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3867, allocations: 4 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3867, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3867, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.387, allocations: 171.4 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.387, allocations: 77.3 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.387, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.3871, allocations: 11.98 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3872, allocations: 3.984 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3872, allocations: 4 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.295e-05/0.3872, allocations: 83.27 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3872, allocations: 0 / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002128/0.3875, allocations: 8.031 kB / 1.057 GB, free: 3.801 MB / 0.8106 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.0001585/0.3876, allocations: 99.25 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3879, allocations: 31.97 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3879, allocations: 3.938 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.268e-05/0.388, allocations: 31.84 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3883, allocations: 16 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.3887, allocations: 133.2 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.389, allocations: 0.6731 MB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.389, allocations: 11.42 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.389, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of Templates: time 0.002491/0.3915, allocations: 0.5323 MB / 1.058 GB, free: 2.203 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches