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.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.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.009366/0.009366, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.00212/0.002121, allocations: 195.4 kB / 16.68 MB, free: 5.953 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.89 kB / 1.054 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001942/1.022, allocations: 0.6646 MB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001018/1.023, allocations: 0.8001 MB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/1.023, allocations: 0 / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/1.023, allocations: 3.938 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/1.023, allocations: 8 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/1.023, allocations: 7.984 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.439e-05/1.023, allocations: 23.92 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/1.023, allocations: 8 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/1.023, allocations: 11.92 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/1.023, allocations: 15.92 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/1.023, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/1.023, allocations: 4 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/1.023, allocations: 4 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/1.023, allocations: 11.92 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.46e-05/1.023, allocations: 15.97 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.023, allocations: 7.938 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.943e-06/1.023, allocations: 4 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.023, allocations: 3.938 kB / 1.209 GB, free: 11.99 MB / 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.0004969/1.024, allocations: 331.5 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.024, allocations: 8.031 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/1.024, allocations: 4.938 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/1.024, allocations: 168.2 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/1.024, allocations: 8.312 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/1.024, allocations: 384 / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/1.024, allocations: 50.23 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.024, allocations: 192 / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/1.024, allocations: 3.938 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.024, allocations: 4 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/1.025, allocations: 31.95 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/1.025, allocations: 256.9 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/1.025, allocations: 42.48 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.481e-05/1.025, allocations: 20.91 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/1.025, allocations: 0 / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/1.025, allocations: 38.56 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/1.025, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003618/1.026, allocations: 85.48 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.026, allocations: 51.41 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/1.026, allocations: 97.86 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/1.026, allocations: 25.7 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/1.026, allocations: 92.25 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/1.026, allocations: 7.906 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/1.026, allocations: 13.72 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.026, allocations: 310.8 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/1.026, allocations: 15.98 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/1.026, allocations: 15.97 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/1.026, allocations: 40.89 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.026, allocations: 0 / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001954/1.027, allocations: 77.53 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.027, allocations: 4 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.027, allocations: 0 / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.027, allocations: 0 / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/1.027, allocations: 11.98 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.027, allocations: 4.031 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/1.027, allocations: 4.188 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/1.027, allocations: 3.984 kB / 1.211 GB, free: 9.973 MB / 0.9356 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.026e-05/1.027, allocations: 117.8 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/1.027, allocations: 3.984 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/1.027, allocations: 72.72 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.027, allocations: 11.97 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.027, allocations: 3.938 kB / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.027, allocations: 0 / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/1.027, allocations: 161.6 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.027, allocations: 0 / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/1.027, allocations: 7.984 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.027, allocations: 4 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/1.027, allocations: 0 / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.027, allocations: 0 / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.027, allocations: 0 / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/1.028, allocations: 171.4 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/1.028, allocations: 81.05 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/1.028, allocations: 3.984 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/1.028, allocations: 4 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/1.028, allocations: 3.984 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/1.028, allocations: 8.031 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.936e-05/1.028, allocations: 79.28 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.028, allocations: 4 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000202/1.028, allocations: 0 / 1.212 GB, free: 9.148 MB / 0.9356 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.000155/1.028, allocations: 103.3 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002118/1.029, allocations: 35.95 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.029, allocations: 4.062 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/1.029, allocations: 19.98 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/1.029, allocations: 9.5 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/1.029, allocations: 113.4 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/1.03, allocations: 0.6768 MB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.311e-05/1.03, allocations: 0 / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/1.03, allocations: 11.5 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.03, allocations: 0 / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of Templates: time 0.002632/1.032, allocations: 442.5 kB / 1.213 GB, free: 7.688 MB / 0.9356 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 -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/jenkins/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