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.001023/0.001022, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00981/0.009811, allocations: 174 kB / 16.27 MB, free: 6.648 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.569/1.569, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.997/2.997, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004757, allocations: 11.97 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3771, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.0009601/0.3781, allocations: 400.5 kB / 1.059 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008824/0.379, allocations: 0.7923 MB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.379, allocations: 7.938 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.3791, allocations: 3.938 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.3791, allocations: 4 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.3793, allocations: 7.984 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.3793, allocations: 27.92 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.3794, allocations: 4 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.251e-05/0.3795, allocations: 11.94 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.3796, allocations: 11.97 kB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3796, allocations: 0 / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.3796, allocations: 0 / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.3796, allocations: 3.938 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.3797, allocations: 37.7 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.753e-05/0.3797, allocations: 23.89 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3797, allocations: 0 / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3797, allocations: 0 / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.3798, allocations: 0 / 1.06 GB, free: 4.125 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.0004499/0.3802, allocations: 335.8 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3803, allocations: 12.03 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.3803, allocations: 4.938 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3804, allocations: 168.2 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.3804, allocations: 384 / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3804, allocations: 4.375 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.3806, allocations: 58.17 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3806, allocations: 192 / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3807, allocations: 3.938 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3807, allocations: 0 / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.3809, allocations: 47.95 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.3813, allocations: 245 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3814, allocations: 50.5 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3816, allocations: 32.77 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3816, allocations: 0 / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3816, allocations: 38.56 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3816, allocations: 0 / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000396/0.382, allocations: 93.64 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3821, allocations: 55.53 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.3822, allocations: 101.8 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.3822, allocations: 29.7 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.3823, allocations: 88.11 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3823, allocations: 3.906 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.3823, allocations: 9.719 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3825, allocations: 314.8 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.3826, allocations: 23.98 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.3827, allocations: 31.91 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3828, allocations: 48.89 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3828, allocations: 0 / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.383, allocations: 77.78 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3831, allocations: 4.031 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3831, allocations: 4 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3831, allocations: 0 / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.3832, allocations: 23.91 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3832, allocations: 3.984 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.3833, allocations: 4 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.3833, allocations: 4 kB / 1.062 GB, free: 2.016 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.968e-05/0.3834, allocations: 121.8 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.3834, allocations: 7.891 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.3836, allocations: 76.78 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3836, allocations: 0 / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3837, allocations: 0 / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3837, allocations: 4.031 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3838, allocations: 157.6 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3838, allocations: 0 / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.3839, allocations: 15.98 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3839, allocations: 3.938 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3839, allocations: 4 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3839, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3839, allocations: 3.938 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.3842, allocations: 171.5 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3842, allocations: 81.11 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3843, allocations: 0 / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.3843, allocations: 12.02 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3844, allocations: 8 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3844, allocations: 0 / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.3845, allocations: 83.27 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3845, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002087/0.3847, allocations: 4 kB / 1.063 GB, free: 1.18 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.0001625/0.3848, allocations: 95.25 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.3851, allocations: 55.89 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3851, allocations: 0 / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.3852, allocations: 24.05 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.3855, allocations: 17.14 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.3858, allocations: 108.6 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.386, allocations: 0.6731 MB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.386, allocations: 11.92 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.3861, allocations: 7.438 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3861, allocations: 0 / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of Templates: time 0.00204/0.3881, allocations: 356.9 kB / 1.064 GB, free: 15.78 MB / 0.8262 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