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.00944/0.00944, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001833/0.001833, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.589/2.589, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.89 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156/1.157, 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.001982/1.159, allocations: 0.6646 MB / 1.208 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009957/1.16, allocations: 0.8078 MB / 1.209 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/1.16, allocations: 0 / 1.209 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/1.16, allocations: 3.938 kB / 1.209 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/1.161, allocations: 3.938 kB / 1.209 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/1.161, allocations: 11.98 kB / 1.209 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.964e-05/1.161, allocations: 19.98 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/1.161, allocations: 4 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/1.161, allocations: 11.94 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/1.161, allocations: 19.91 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/1.161, allocations: 0 / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/1.161, allocations: 8 kB / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/1.161, allocations: 0 / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/1.161, allocations: 11.92 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.552e-05/1.161, allocations: 19.91 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/1.161, allocations: 0 / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/1.161, allocations: 4 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.109e-06/1.161, allocations: 0 / 1.209 GB, free: 12.18 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.000501/1.162, allocations: 335.5 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.162, allocations: 8.031 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/1.162, allocations: 8.938 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/1.162, allocations: 162.2 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/1.162, allocations: 384 / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/1.162, allocations: 4.359 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/1.162, allocations: 50.23 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.162, allocations: 3.938 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/1.162, allocations: 3.938 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/1.162, allocations: 4 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/1.162, allocations: 35.95 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/1.163, allocations: 248.9 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/1.163, allocations: 38.53 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/1.163, allocations: 24.91 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/1.163, allocations: 4 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/1.163, allocations: 34.5 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/1.163, allocations: 0 / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003474/1.163, allocations: 85.55 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/1.163, allocations: 51.41 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/1.164, allocations: 109.9 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/1.164, allocations: 29.64 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/1.164, allocations: 88.12 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/1.164, allocations: 7.844 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/1.164, allocations: 17.72 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.164, allocations: 310.8 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/1.164, allocations: 19.97 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/1.164, allocations: 19.92 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/1.164, allocations: 36.83 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.164, allocations: 3.938 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001998/1.164, allocations: 65.66 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.164, allocations: 4 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.164, allocations: 4.094 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/1.164, allocations: 0 / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/1.164, allocations: 11.98 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/1.164, allocations: 0 / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/1.165, allocations: 8 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/1.165, allocations: 3.984 kB / 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 8.641e-05/1.165, allocations: 113.8 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/1.165, allocations: 7.938 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/1.165, allocations: 72.78 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.165, allocations: 4 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.165, allocations: 0 / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/1.165, allocations: 0 / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/1.165, allocations: 161.6 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.165, allocations: 0 / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/1.165, allocations: 4 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.165, allocations: 4 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/1.165, allocations: 32 / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.165, allocations: 4 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.165, allocations: 3.984 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/1.165, allocations: 167.3 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/1.166, allocations: 81.09 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/1.166, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/1.166, allocations: 8.031 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/1.166, allocations: 4.172 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/1.166, allocations: 4 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.391e-05/1.166, allocations: 83.2 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.166, allocations: 4 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002054/1.166, allocations: 0 / 1.212 GB, free: 9.344 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.0001649/1.166, allocations: 103.2 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002247/1.166, allocations: 39.95 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.166, allocations: 3.938 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/1.166, allocations: 19.92 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/1.167, allocations: 11.94 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/1.167, allocations: 109.5 kB / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/1.167, allocations: 0.6808 MB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.154e-05/1.167, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/1.167, allocations: 7.438 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/1.167, allocations: 0 / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of Templates: time 0.002434/1.17, allocations: 441.8 kB / 1.213 GB, free: 7.879 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