Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002544/0.002544, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.607/2.607, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.7469, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002468/0.7494, allocations: 0.7057 MB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.7504, allocations: 0.8001 MB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.7505, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.7505, allocations: 3.938 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.7506, allocations: 7.938 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.7507, allocations: 11.98 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.544e-05/0.7508, allocations: 43.86 kB / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.7509, allocations: 19.92 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.751, allocations: 15.97 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.7511, allocations: 23.92 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.7511, allocations: 4 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.7511, allocations: 4 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.7511, allocations: 11.92 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.7512, allocations: 11.94 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.7513, allocations: 39.88 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7513, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7513, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.7513, allocations: 4 kB / 1.019 GB, free: 0.9766 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005429/0.7519, allocations: 374.7 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7519, allocations: 8.031 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.752, allocations: 4.938 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.7521, allocations: 168.3 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.7521, allocations: 384 / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.7521, allocations: 4.375 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.7524, allocations: 78.14 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7524, allocations: 192 / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.7524, allocations: 3.938 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.7525, allocations: 4 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.7527, allocations: 59.92 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.7532, allocations: 265 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.7534, allocations: 70.41 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.7536, allocations: 32.92 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.7536, allocations: 3.984 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.7536, allocations: 38.56 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.7536, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000546/0.7542, allocations: 129.4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.7542, allocations: 59.34 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.7543, allocations: 105.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.7543, allocations: 33.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.7544, allocations: 84.12 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.7544, allocations: 11.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.7545, allocations: 13.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7546, allocations: 318.8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.7547, allocations: 35.97 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.7549, allocations: 27.97 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.7552, allocations: 73.05 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7552, allocations: 3.938 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003231/0.7555, allocations: 101.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.7555, allocations: 13.02 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7555, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.7556, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.7557, allocations: 15.98 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7557, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.7558, allocations: 11.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.7558, allocations: 8.25 kB / 1.021 GB, free: 14.64 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 (3): * Single equations (assignments): 3 * 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 8.707e-05/0.7559, allocations: 117.8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.756, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.7563, allocations: 105.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.7563, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7563, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.7564, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.7565, allocations: 173.5 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7565, allocations: 3.938 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.7566, allocations: 19.98 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.7566, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.7567, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7567, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7567, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.757, allocations: 199.4 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.7571, allocations: 77.11 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.7571, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.7572, allocations: 15.97 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.7573, allocations: 4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.7573, allocations: 8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.7573, allocations: 91.25 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7573, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000214/0.7575, allocations: 8 kB / 1.022 GB, free: 13.72 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 (3): * Single equations (assignments): 3 * 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.000154/0.7577, allocations: 103.1 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.7581, allocations: 71.92 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7581, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.7582, allocations: 35.95 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.7586, allocations: 11.94 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.7589, allocations: 133.5 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.7592, allocations: 0.6807 MB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.7592, allocations: 3.984 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.7593, allocations: 15.44 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7593, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of Templates: time 0.00279/0.7621, allocations: 0.6781 MB / 1.023 GB, free: 11.94 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches