Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002409/0.00241, allocations: 190.7 kB / 16.25 MB, free: 6.637 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.625/1.625, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.787/2.787, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.91 kB / 0.8688 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6565/0.6585, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002142/0.6607, allocations: 0.7278 MB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.6617, allocations: 0.8001 MB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.6617, allocations: 0 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.6618, allocations: 3.938 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.6618, allocations: 3.984 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.6619, allocations: 8 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.662, allocations: 31.91 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.6621, allocations: 4 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.6622, allocations: 7.938 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.6622, allocations: 11.98 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.6622, allocations: 4 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-06/0.6623, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.6623, allocations: 3.938 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.6623, allocations: 11.98 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.172e-05/0.6624, allocations: 27.89 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.6624, allocations: 3.938 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6624, allocations: 4 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.6624, allocations: 0 / 1.018 GB, free: 1.047 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.0004524/0.6629, allocations: 333.4 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.6629, allocations: 12.03 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.6629, allocations: 0.9375 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.6631, allocations: 168.3 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6632, allocations: 384 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.6632, allocations: 384 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.6634, allocations: 62.16 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.6634, allocations: 192 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6634, allocations: 3.938 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.6634, allocations: 0 / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.6636, allocations: 35.95 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.6639, allocations: 245 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.6641, allocations: 46.42 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.6642, allocations: 20.91 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.6642, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.6642, allocations: 34.56 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.6642, allocations: 3.938 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003443/0.6646, allocations: 85.64 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.6646, allocations: 51.41 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.6647, allocations: 101.8 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.6648, allocations: 25.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.6648, allocations: 84.08 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.6648, allocations: 11.84 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.6649, allocations: 17.84 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.665, allocations: 310.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.6651, allocations: 19.97 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.6652, allocations: 15.98 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.6653, allocations: 40.89 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6653, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.6655, allocations: 69.59 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.6656, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.6656, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6656, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.6657, allocations: 15.92 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.6657, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.6657, allocations: 8.031 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.6657, allocations: 0 / 1.02 GB, free: 15.03 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.873e-05/0.6658, allocations: 117.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.6659, allocations: 7.906 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.6661, allocations: 72.72 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6661, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6661, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.6661, allocations: 4.031 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.6663, allocations: 157.6 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6663, allocations: 3.984 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.6663, allocations: 8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6664, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.6664, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.6664, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6664, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.6666, allocations: 163.5 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.6667, allocations: 85.09 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.6667, allocations: 7.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.6668, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.6668, allocations: 3.984 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.6668, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.472e-05/0.6669, allocations: 83.45 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6669, allocations: 4.031 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002062/0.6671, allocations: 4 kB / 1.021 GB, free: 14.21 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.0001392/0.6672, allocations: 99.78 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.6674, allocations: 43.89 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6674, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.37e-05/0.6675, allocations: 20.05 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.6678, allocations: 10.05 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.6681, allocations: 113.1 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.6684, allocations: 0.6768 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.6684, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.6685, allocations: 7.438 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6685, allocations: 4.062 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.002551/0.671, allocations: 382.3 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches