Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001359/0.001359, allocations: 191 kB / 16.14 MB, free: 6.734 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.91 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.6049, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.00198/0.607, allocations: 0.7317 MB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009179/0.6079, allocations: 0.7962 MB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.6079, allocations: 4 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.608, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.6081, allocations: 3.938 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.6082, allocations: 7.984 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.6083, allocations: 23.94 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/0.6084, allocations: 3.984 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.6084, allocations: 19.92 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.6085, allocations: 7.984 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.6085, allocations: 3.938 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.6085, allocations: 4 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.6085, allocations: 4 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.6085, allocations: 3.938 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.347e-05/0.6086, allocations: 19.97 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6086, allocations: 0 / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6086, allocations: 0 / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.6086, allocations: 0 / 1.018 GB, free: 1.137 MB / 0.7637 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.0004187/0.6091, allocations: 341.5 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6091, allocations: 8.031 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.6091, allocations: 4.875 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.6093, allocations: 172.3 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.6093, allocations: 384 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.6093, allocations: 384 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.6095, allocations: 54.17 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6095, allocations: 192 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.6095, allocations: 7.875 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.6095, allocations: 7.984 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.6097, allocations: 31.97 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.61, allocations: 253 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.6101, allocations: 34.5 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.6102, allocations: 28.91 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.6103, allocations: 3.938 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.6103, allocations: 34.55 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.794e-06/0.6103, allocations: 0 / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003646/0.6107, allocations: 77.83 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.6107, allocations: 55.44 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.6108, allocations: 101.8 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.6108, allocations: 25.7 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.6109, allocations: 84.14 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.6109, allocations: 7.844 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.6109, allocations: 17.7 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.611, allocations: 314.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.6111, allocations: 19.98 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.6112, allocations: 15.92 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.6114, allocations: 40.81 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6114, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001961/0.6116, allocations: 69.67 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6116, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6116, allocations: 3.984 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.6116, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.787e-05/0.6117, allocations: 8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.6117, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.6118, allocations: 15.89 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.6118, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 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.874e-05/0.6119, allocations: 117.8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.6119, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.6122, allocations: 68.78 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.6122, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6122, allocations: 3.984 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.6122, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.6123, allocations: 157.6 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6124, allocations: 11.88 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.6124, allocations: 12.02 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6124, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.6124, allocations: 4 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6124, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6125, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.6127, allocations: 163.4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.6127, allocations: 85.14 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.6128, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.6128, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.6129, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.6129, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.6129, allocations: 79.27 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6129, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002176/0.6131, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 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.0001172/0.6133, allocations: 111.2 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.6135, allocations: 35.91 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6135, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.6136, allocations: 19.97 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.6139, allocations: 7.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.6141, allocations: 115.6 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.6143, allocations: 0.677 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.6144, allocations: 3.984 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.6144, allocations: 7.438 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6144, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.002218/0.6166, allocations: 371.3 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches