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.001528/0.001528, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001715/0.001715, allocations: 196 kB / 16.14 MB, free: 6.711 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.633/2.633, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7927/0.794, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002226/0.7963, allocations: 0.7706 MB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.7973, allocations: 0.8 MB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.7973, allocations: 4 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.7974, allocations: 0 / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.7974, allocations: 3.938 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.153e-05/0.7975, allocations: 11.98 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.151e-05/0.7976, allocations: 47.86 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.7977, allocations: 15.97 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.7978, allocations: 11.92 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.7979, allocations: 27.86 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.7979, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.7979, allocations: 4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.7979, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.798, allocations: 19.86 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.311e-05/0.798, allocations: 43.86 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7981, allocations: 4 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.11e-07/0.7981, allocations: 0 / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.7981, allocations: 0 / 1.018 GB, free: 1.059 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.0005692/0.7986, allocations: 369.3 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.7987, allocations: 8.031 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.7987, allocations: 4.938 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.7988, allocations: 164.3 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.7989, allocations: 12.3 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.7989, allocations: 4.375 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.7992, allocations: 74.2 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.7992, allocations: 192 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.7992, allocations: 3.938 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.7992, allocations: 0 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.7995, allocations: 67.88 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.7999, allocations: 261 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.8001, allocations: 62.47 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.8002, allocations: 36.92 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.8003, allocations: 4 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.8003, allocations: 38.48 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8003, allocations: 0 / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005338/0.8009, allocations: 129.5 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.8009, allocations: 51.41 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.801, allocations: 109.8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.801, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.8011, allocations: 88.12 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.8011, allocations: 15.84 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.8011, allocations: 9.719 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8012, allocations: 318.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.8014, allocations: 31.95 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.8016, allocations: 35.84 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.8018, allocations: 68.78 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8018, allocations: 7.938 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003356/0.8022, allocations: 101.5 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.8022, allocations: 4 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.8022, allocations: 4 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.8022, allocations: 3.984 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.8024, allocations: 11.98 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8024, allocations: 4 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.8025, allocations: 11.98 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.8025, allocations: 0 / 1.02 GB, free: 14.73 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.183e-05/0.8026, allocations: 117.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.8026, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.803, allocations: 113.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.803, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.803, allocations: 7.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.8031, allocations: 48 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.8032, allocations: 173.6 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.8032, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.8033, allocations: 11.98 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.8034, allocations: 3.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.8034, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.8034, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8034, allocations: 7.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.8038, allocations: 195.4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.8038, allocations: 81.02 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.8038, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.804, allocations: 15.98 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.804, allocations: 11.98 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.804, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.8041, allocations: 83.58 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8041, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002247/0.8043, allocations: 12 kB / 1.021 GB, free: 13.8 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.000126/0.8044, allocations: 103.2 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.8048, allocations: 71.86 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.8048, allocations: 0 / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.805, allocations: 43.89 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.8053, allocations: 3.938 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.8056, allocations: 139.3 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.8058, allocations: 0.6809 MB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.8059, allocations: 3.984 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.8059, allocations: 11.44 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.8059, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of Templates: time 0.002676/0.8086, allocations: 0.5463 MB / 1.023 GB, free: 12.15 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