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.001602/0.001602, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001995/0.001995, allocations: 191.3 kB / 16.25 MB, free: 6.641 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 70.77 kB / 0.8986 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4112, allocations: 157.4 MB / 1.052 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002596/0.4139, allocations: 0.7362 MB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.4151, allocations: 0.8001 MB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.4152, allocations: 0 / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.4152, allocations: 0 / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.4153, allocations: 0 / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.4155, allocations: 7.984 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.659e-05/0.4156, allocations: 27.92 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.4158, allocations: 11.98 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.878e-05/0.4158, allocations: 7.938 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.4159, allocations: 11.98 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.4159, allocations: 8 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.4159, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.416, allocations: 3.938 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.416, allocations: 8 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.4161, allocations: 27.89 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4161, allocations: 0 / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4161, allocations: 0 / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.4161, allocations: 0 / 1.054 GB, free: 7.066 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.0005139/0.4167, allocations: 331.8 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4167, allocations: 16.62 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.4168, allocations: 8.828 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.4169, allocations: 172.2 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4169, allocations: 8.375 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.417, allocations: 384 / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.4172, allocations: 50.23 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4172, allocations: 192 / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.4172, allocations: 3.938 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4172, allocations: 3.984 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.4174, allocations: 35.97 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.4178, allocations: 248.9 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.418, allocations: 38.5 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4181, allocations: 24.84 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4181, allocations: 3.984 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4182, allocations: 34.56 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.4182, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000374/0.4185, allocations: 77.59 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.4186, allocations: 59.52 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.4187, allocations: 101.9 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4187, allocations: 25.7 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.4188, allocations: 80.14 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4188, allocations: 7.906 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.4189, allocations: 17.7 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.4191, allocations: 310.8 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.4192, allocations: 19.98 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/0.4193, allocations: 15.98 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.4194, allocations: 40.81 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4194, allocations: 0 / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.4196, allocations: 73.45 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.4197, allocations: 12.08 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4197, allocations: 4 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4197, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4198, allocations: 4 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4198, allocations: 0 / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.4199, allocations: 7.984 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.4199, allocations: 4 kB / 1.056 GB, free: 5.035 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.98e-05/0.42, allocations: 109.8 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.42, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.4203, allocations: 84.7 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4203, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4203, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4203, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.4205, allocations: 157.6 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4205, allocations: 0 / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.4206, allocations: 15.92 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4206, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.4206, allocations: 4.031 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4206, allocations: 4 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4206, allocations: 3.938 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.4209, allocations: 163.5 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.421, allocations: 77.11 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.421, allocations: 4 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.4211, allocations: 12.02 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.4211, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.4211, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.4212, allocations: 91.2 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4212, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002267/0.4214, allocations: 4 kB / 1.056 GB, free: 4.223 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.0001837/0.4216, allocations: 95.25 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.4218, allocations: 39.97 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4219, allocations: 0 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.4219, allocations: 23.97 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.4223, allocations: 9.422 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.4226, allocations: 117.6 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.423, allocations: 0.6768 MB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.423, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.4231, allocations: 11.44 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.4231, allocations: 0 / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of Templates: time 0.002781/0.4259, allocations: 386.4 kB / 1.058 GB, free: 2.816 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