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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001054/0.001058, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001097/0.001097, allocations: 193 kB / 16.14 MB, free: 6.711 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 68.81 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.378, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.00248/0.3805, allocations: 0.7339 MB / 1.053 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3817, allocations: 0.8001 MB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.3818, allocations: 4 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.3818, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.655e-05/0.3819, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.3821, allocations: 4 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.3822, allocations: 31.86 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3823, allocations: 0 / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.3824, allocations: 11.98 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.3825, allocations: 11.94 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3825, allocations: 0 / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.3826, allocations: 0 / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.3826, allocations: 11.97 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.3826, allocations: 7.938 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.409e-05/0.3827, allocations: 19.97 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3827, allocations: 0 / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3827, allocations: 0 / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3828, allocations: 0 / 1.054 GB, free: 7.211 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.0005665/0.3833, allocations: 339.8 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.3834, allocations: 11.97 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.3835, allocations: 4.844 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.3836, allocations: 172.3 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3836, allocations: 4.312 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3837, allocations: 384 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.3839, allocations: 50.23 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3839, allocations: 4.172 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3839, allocations: 7.938 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3839, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.3841, allocations: 31.97 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.3845, allocations: 248.9 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3847, allocations: 42.5 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.3848, allocations: 24.91 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.3848, allocations: 0 / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3849, allocations: 30.56 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.3849, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004089/0.3853, allocations: 89.67 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.3853, allocations: 51.41 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.3854, allocations: 97.84 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3855, allocations: 33.64 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.3855, allocations: 84.14 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.3855, allocations: 3.906 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.3856, allocations: 9.719 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3857, allocations: 322.8 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.3858, allocations: 16.02 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.586e-05/0.3859, allocations: 15.98 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3861, allocations: 44.81 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3861, allocations: 0 / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002059/0.3863, allocations: 77.52 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3863, allocations: 4 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3863, allocations: 0 / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3864, allocations: 0 / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.3865, allocations: 11.98 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3865, allocations: 0 / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.3865, allocations: 7.984 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3866, allocations: 0 / 1.055 GB, free: 5.18 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 9.397e-05/0.3867, allocations: 119.3 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.3867, allocations: 4 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.3869, allocations: 68.72 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3869, allocations: 3.938 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3869, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.387, allocations: 4 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3871, allocations: 161.6 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3871, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.3872, allocations: 12.02 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3872, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3872, allocations: 4 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3872, allocations: 4 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3872, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.3875, allocations: 159.5 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.3876, allocations: 81.14 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3876, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.3877, allocations: 7.984 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.3877, allocations: 7.938 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.3877, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.882e-05/0.3878, allocations: 79.47 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3878, allocations: 0 / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002147/0.388, allocations: 4 kB / 1.056 GB, free: 4.379 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.000179/0.3882, allocations: 107.2 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.3884, allocations: 31.97 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3884, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/0.3885, allocations: 23.92 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3889, allocations: 19.8 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.3892, allocations: 123.2 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3895, allocations: 0.6731 MB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.3896, allocations: 4.141 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.3896, allocations: 7.438 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.3896, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of Templates: time 0.002829/0.3924, allocations: 380.7 kB / 1.057 GB, free: 2.961 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/jenkins/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