Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006067/0.006067, allocations: 98.19 kB / 15.73 MB, free: 5.984 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.001294/0.001294, allocations: 195.9 kB / 16.67 MB, free: 5.91 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 1.065 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 159.1 MB / 1.221 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002505/1.022, allocations: 0.6685 MB / 1.221 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001386/1.023, allocations: 0.8001 MB / 1.222 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/1.023, allocations: 0 / 1.222 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/1.023, allocations: 0 / 1.222 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/1.023, allocations: 3.938 kB / 1.222 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/1.023, allocations: 11.98 kB / 1.222 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.207e-05/1.024, allocations: 27.92 kB / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/1.024, allocations: 3.984 kB / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/1.024, allocations: 15.92 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/1.024, allocations: 11.98 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/1.024, allocations: 4 kB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/1.024, allocations: 0 / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/1.024, allocations: 3.938 kB / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/1.024, allocations: 11.98 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/1.024, allocations: 19.91 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.024, allocations: 0 / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/1.024, allocations: 0 / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.024, allocations: 4 kB / 1.222 GB, free: 500 kB / 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.0005787/1.025, allocations: 336 kB / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.025, allocations: 12.03 kB / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/1.025, allocations: 8.828 kB / 1.223 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/1.025, allocations: 160.4 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.025, allocations: 4.375 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/1.025, allocations: 4.312 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/1.025, allocations: 54.23 kB / 1.223 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/1.025, allocations: 192 / 1.223 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.025, allocations: 3.938 kB / 1.223 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/1.025, allocations: 0 / 1.223 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/1.025, allocations: 35.95 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/1.026, allocations: 249 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/1.026, allocations: 50.38 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/1.026, allocations: 24.89 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/1.026, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/1.026, allocations: 30.56 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.026, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000499/1.027, allocations: 85.64 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/1.027, allocations: 51.41 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/1.027, allocations: 101.8 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/1.027, allocations: 29.7 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/1.027, allocations: 92.02 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/1.027, allocations: 3.953 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/1.027, allocations: 13.72 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000195/1.027, allocations: 319 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/1.027, allocations: 11.98 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/1.027, allocations: 23.97 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/1.028, allocations: 32.83 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.028, allocations: 4 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000267/1.028, allocations: 69.66 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.028, allocations: 8 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.028, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.541e-05/1.028, allocations: 3.938 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/1.028, allocations: 7.984 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.028, allocations: 0 / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/1.028, allocations: 4 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/1.028, allocations: 32 / 1.224 GB, free: 14.47 MB / 0.9512 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 0.0001346/1.028, allocations: 126.3 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/1.028, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/1.029, allocations: 68.78 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/1.029, allocations: 0 / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.029, allocations: 0 / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.029, allocations: 4 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/1.029, allocations: 157.6 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.029, allocations: 7.938 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/1.029, allocations: 15.92 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.029, allocations: 0 / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.029, allocations: 4.188 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.029, allocations: 3.938 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.029, allocations: 0 / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/1.029, allocations: 171.4 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/1.029, allocations: 77.11 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/1.029, allocations: 3.984 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/1.03, allocations: 4 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/1.03, allocations: 8 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/1.03, allocations: 3.984 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.338e-05/1.03, allocations: 79.28 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/1.03, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004049/1.03, allocations: 8.031 kB / 1.225 GB, free: 13.64 MB / 0.9512 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.0002141/1.03, allocations: 95.25 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003078/1.031, allocations: 39.89 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.031, allocations: 4 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/1.031, allocations: 15.98 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/1.031, allocations: 14.09 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/1.032, allocations: 109.4 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/1.032, allocations: 0.6768 MB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.676e-05/1.032, allocations: 0 / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/1.032, allocations: 11.44 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of SimCode: time 3.9e-07/1.032, allocations: 4 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of Templates: time 0.002722/1.035, allocations: 440.6 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches