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.001358/0.001358, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001413/0.001413, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.493/2.493, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.89 kB / 1.055 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7754, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001762/0.7772, allocations: 0.6611 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000863/0.7781, allocations: 0.8078 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.7781, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.7782, allocations: 3.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.7782, allocations: 3.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.7784, allocations: 11.98 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.7784, allocations: 19.92 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.7786, allocations: 8 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.7786, allocations: 19.92 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.941e-05/0.7787, allocations: 7.984 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.7787, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.7787, allocations: 4 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.7787, allocations: 7.938 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.7788, allocations: 7.984 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.447e-05/0.7788, allocations: 19.91 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7788, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7789, allocations: 4 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.7789, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 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.0004137/0.7793, allocations: 339.5 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.7793, allocations: 8.031 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.7794, allocations: 4.938 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.7795, allocations: 164.2 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.7795, allocations: 384 / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.7795, allocations: 384 / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.7797, allocations: 54.17 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.7797, allocations: 192 / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.7797, allocations: 3.938 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.7797, allocations: 8 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.7799, allocations: 31.95 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.7802, allocations: 249 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.7803, allocations: 42.48 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.7804, allocations: 32.84 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.7805, allocations: 3.938 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.7805, allocations: 30.56 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7805, allocations: 0 / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003419/0.7808, allocations: 85.55 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.7809, allocations: 55.53 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.781, allocations: 97.84 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.781, allocations: 25.7 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.781, allocations: 88.14 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.781, allocations: 3.906 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.7811, allocations: 13.72 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.7812, allocations: 318.8 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.7813, allocations: 19.97 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.7813, allocations: 15.98 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.7815, allocations: 40.77 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7815, allocations: 0 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.7817, allocations: 73.66 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7817, allocations: 4 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7817, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7818, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.7818, allocations: 11.98 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.7819, allocations: 3.938 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.7819, allocations: 4 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.7819, allocations: 0 / 1.212 GB, free: 9.98 MB / 0.9356 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 6.679e-05/0.782, allocations: 121.8 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.782, allocations: 4.031 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.7822, allocations: 64.97 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.7823, allocations: 7.984 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7823, allocations: 0 / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7823, allocations: 0 / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.7824, allocations: 157.6 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7824, allocations: 7.984 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.7825, allocations: 4.031 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.7825, allocations: 8 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.7825, allocations: 0 / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7825, allocations: 0 / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7825, allocations: 3.938 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.7828, allocations: 171.3 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.7828, allocations: 81.12 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.7828, allocations: 4 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.7829, allocations: 4 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.7829, allocations: 3.984 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.7829, allocations: 4 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.174e-05/0.783, allocations: 79.28 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.783, allocations: 4 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002165/0.7832, allocations: 0 / 1.212 GB, free: 9.164 MB / 0.9356 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.0001236/0.7833, allocations: 105.1 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.7835, allocations: 39.89 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7836, allocations: 0 / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.7836, allocations: 19.98 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.7839, allocations: 7.938 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.7842, allocations: 135.3 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.7844, allocations: 0.6768 MB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.7845, allocations: 7.438 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7845, allocations: 3.938 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of Templates: time 0.001846/0.7863, allocations: 0.5377 MB / 1.214 GB, free: 7.57 MB / 0.9356 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