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.001273/0.001273, allocations: 110.3 kB / 16.41 MB, free: 6.48 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.001337/0.001337, allocations: 183 kB / 17.34 MB, free: 5.75 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.242/1.242, 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 10.1.1-maint.10.0.x/package.mo): time 2.288/2.288, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 68.08 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6873/0.6885, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001684/0.6902, allocations: 0.6695 MB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008794/0.6911, allocations: 0.8039 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.6911, allocations: 0 / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.6912, allocations: 0 / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.6912, allocations: 15.94 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.6914, allocations: 3.984 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.6915, allocations: 19.94 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.6916, allocations: 15.98 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.541e-05/0.6916, allocations: 4 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.6917, allocations: 19.91 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.6917, allocations: 0 / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.6917, allocations: 7.938 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.6917, allocations: 4 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.6918, allocations: 3.938 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.015e-05/0.6918, allocations: 31.89 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6919, allocations: 4 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6919, allocations: 0 / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.6919, allocations: 0 / 1.169 GB, free: 2.258 MB / 0.8887 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.0004181/0.6923, allocations: 332 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.6923, allocations: 12.86 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.6924, allocations: 4.938 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.6925, allocations: 168.3 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.6925, allocations: 4.375 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.6925, allocations: 4.375 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.6927, allocations: 46.23 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6927, allocations: 4.188 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.6927, allocations: 3.938 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6927, allocations: 3.984 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.6929, allocations: 31.95 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.6932, allocations: 252.9 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.6933, allocations: 41 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.6934, allocations: 24.83 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.6934, allocations: 0 / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.6935, allocations: 34.56 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.6935, allocations: 4 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003183/0.6938, allocations: 81.58 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.6938, allocations: 51.41 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.6939, allocations: 105.8 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.6939, allocations: 25.7 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.694, allocations: 88.19 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.694, allocations: 15.94 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.694, allocations: 13.72 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.6941, allocations: 310.8 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.6942, allocations: 15.98 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.6943, allocations: 19.97 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.6944, allocations: 36.89 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6944, allocations: 0 / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001754/0.6946, allocations: 81.48 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6946, allocations: 4 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6946, allocations: 4 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.6947, allocations: 0 / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.6947, allocations: 7.984 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6948, allocations: 4.031 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.6948, allocations: 7.938 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.6948, allocations: 0 / 1.171 GB, free: 236 kB / 0.8887 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.603e-05/0.6949, allocations: 113.8 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.6949, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.6951, allocations: 80.7 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.6952, allocations: 4.031 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6952, allocations: 4 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.6952, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.6953, allocations: 157.6 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6953, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.6954, allocations: 11.98 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.6954, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.6954, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6954, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6954, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.6957, allocations: 167.5 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.6957, allocations: 81.06 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.6957, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.6958, allocations: 7.984 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.6958, allocations: 7.938 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.6959, allocations: 3.938 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.6959, allocations: 91.3 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6959, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002114/0.6961, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 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.0001284/0.6963, allocations: 95.25 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.6965, allocations: 39.95 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6965, allocations: 0 / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.397e-05/0.6966, allocations: 20.05 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.6968, allocations: 7.938 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.6971, allocations: 128.9 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.6974, allocations: 0.6768 MB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.6974, allocations: 7.438 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6974, allocations: 0 / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of Templates: time 0.001689/0.6991, allocations: 0.5448 MB / 1.173 GB, free: 13.82 MB / 0.9044 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=480 -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/jenkins1/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