Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_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_latest_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.002022/0.002022, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.002454/0.002454, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.596/2.596, allocations: 442.6 MB / 0.7165 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 65.28 kB / 0.8774 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3609, allocations: 153 MB / 1.027 GB, free: 1.941 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002117/0.3631, allocations: 0.6533 MB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3641, allocations: 0.8025 MB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.3641, allocations: 0 / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.3642, allocations: 11.88 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.058e-05/0.3643, allocations: 3.984 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.3644, allocations: 11.98 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.676e-05/0.3645, allocations: 27.86 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3646, allocations: 4 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.3647, allocations: 11.98 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.3647, allocations: 7.938 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3648, allocations: 4 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.3648, allocations: 0 / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.3648, allocations: 7.984 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.3648, allocations: 11.94 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.783e-05/0.3649, allocations: 23.89 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3649, allocations: 0 / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd: time 4.709e-06/0.3649, allocations: 0 / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3649, allocations: 3.938 kB / 1.028 GB, free: 356 kB / 0.795 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.0005621/0.3655, allocations: 336.8 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3656, allocations: 8.031 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.3656, allocations: 4.844 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3658, allocations: 176.3 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3658, allocations: 4.375 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3658, allocations: 384 / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.366, allocations: 50.23 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.366, allocations: 192 / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3661, allocations: 3.938 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.3661, allocations: 4 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.3662, allocations: 31.97 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.3667, allocations: 252.9 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3668, allocations: 38.5 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.3669, allocations: 20.91 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.3669, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.367, allocations: 34.56 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.367, allocations: 0 / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003811/0.3674, allocations: 85.58 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.3674, allocations: 51.41 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3675, allocations: 101.8 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.3676, allocations: 25.83 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.3676, allocations: 84.14 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3677, allocations: 11.91 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.3677, allocations: 9.719 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3678, allocations: 318.8 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.3679, allocations: 15.98 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.368, allocations: 11.98 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3681, allocations: 48.81 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3682, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001785/0.3683, allocations: 77.45 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3684, allocations: 4 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3684, allocations: 3.938 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3684, allocations: 192 / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.3685, allocations: 16.02 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3685, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.3686, allocations: 7.984 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3686, allocations: 0 / 1.03 GB, free: 14.32 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 9.999e-05/0.3687, allocations: 113.7 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.3687, allocations: 7.984 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.3689, allocations: 76.72 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3689, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.369, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.369, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.3692, allocations: 165.6 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3692, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.3692, allocations: 7.984 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3692, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3692, allocations: 0 / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3692, allocations: 4 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3693, allocations: 32 / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.3695, allocations: 167.5 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.3696, allocations: 81.02 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.3696, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.3697, allocations: 11.92 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3697, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3697, allocations: 4.031 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.163e-05/0.3698, allocations: 83.28 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3698, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002086/0.37, allocations: 4 kB / 1.031 GB, free: 13.5 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.0001627/0.3702, allocations: 106.2 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3704, allocations: 31.97 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3704, allocations: 4.062 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.3705, allocations: 19.98 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.3709, allocations: 14.83 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.3712, allocations: 105.5 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.3715, allocations: 0.6729 MB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.3715, allocations: 4.062 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.3715, allocations: 19.31 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3715, allocations: 0 / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of Templates: time 0.002566/0.3741, allocations: 433.9 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches