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.00886/0.00886, allocations: 102 kB / 15.73 MB, free: 6.039 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.001688/0.001688, allocations: 194 kB / 16.67 MB, free: 5.961 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 1.054 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.101, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.00212/1.103, allocations: 0.6647 MB / 1.208 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00115/1.105, allocations: 0.8 MB / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/1.105, allocations: 0 / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/1.105, allocations: 3.938 kB / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.597e-05/1.105, allocations: 7.938 kB / 1.209 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/1.105, allocations: 7.984 kB / 1.209 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.488e-05/1.105, allocations: 19.98 kB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/1.105, allocations: 4 kB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.005e-05/1.105, allocations: 15.92 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/1.105, allocations: 15.94 kB / 1.209 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/1.105, allocations: 3.984 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-05/1.105, allocations: 4 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/1.105, allocations: 3.984 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/1.105, allocations: 7.938 kB / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.825e-05/1.105, allocations: 19.91 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.105, allocations: 4 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/1.105, allocations: 0 / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.609e-06/1.105, allocations: 0 / 1.209 GB, free: 12.2 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.0004616/1.106, allocations: 339.5 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.106, allocations: 8.031 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/1.106, allocations: 8.938 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/1.106, allocations: 162.2 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/1.106, allocations: 384 / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/1.106, allocations: 12.36 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/1.106, allocations: 42.19 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/1.106, allocations: 192 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.106, allocations: 11.94 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.106, allocations: 7.938 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/1.107, allocations: 31.95 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/1.107, allocations: 244.9 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/1.107, allocations: 42.53 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.818e-05/1.107, allocations: 24.91 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/1.107, allocations: 0 / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.107, allocations: 34.5 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/1.107, allocations: 0 / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003663/1.108, allocations: 85.55 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.108, allocations: 55.53 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/1.108, allocations: 105.8 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/1.108, allocations: 29.7 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/1.108, allocations: 80.14 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/1.108, allocations: 7.844 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/1.108, allocations: 17.72 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.108, allocations: 310.8 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/1.108, allocations: 23.97 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/1.108, allocations: 15.98 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/1.108, allocations: 36.77 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.108, allocations: 0 / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/1.109, allocations: 69.88 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.109, allocations: 8 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.109, allocations: 0 / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.109, allocations: 7.984 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/1.109, allocations: 11.98 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.109, allocations: 0 / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/1.109, allocations: 7.984 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/1.109, allocations: 0 / 1.211 GB, free: 10.16 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 7.486e-05/1.109, allocations: 113.8 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/1.109, allocations: 4 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/1.109, allocations: 72.72 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.109, allocations: 4 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.109, allocations: 0 / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/1.109, allocations: 0 / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/1.109, allocations: 165.6 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.109, allocations: 0 / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/1.11, allocations: 8 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.11, allocations: 4.031 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/1.11, allocations: 3.984 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.11, allocations: 3.938 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.11, allocations: 4 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/1.11, allocations: 171.3 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/1.11, allocations: 77.11 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/1.11, allocations: 4.031 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/1.11, allocations: 4 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/1.11, allocations: 7.984 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/1.11, allocations: 3.938 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.347e-05/1.11, allocations: 79.28 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.11, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002137/1.11, allocations: 8 kB / 1.212 GB, free: 9.34 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.0001418/1.11, allocations: 99.25 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000221/1.111, allocations: 35.95 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.111, allocations: 0 / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/1.111, allocations: 19.92 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/1.111, allocations: 11.94 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/1.111, allocations: 113.6 kB / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/1.112, allocations: 0.6768 MB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.789e-05/1.112, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/1.112, allocations: 7.438 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/1.112, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of Templates: time 0.002881/1.115, allocations: 455.4 kB / 1.213 GB, free: 7.871 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/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