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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001278/0.001277, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.84 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5845, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001869/0.5864, allocations: 0.7668 MB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000824/0.5873, allocations: 0.8118 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.5873, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.5874, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.5874, allocations: 7.938 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.418e-05/0.5875, allocations: 11.98 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.5876, allocations: 39.86 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.55e-05/0.5877, allocations: 11.98 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.5878, allocations: 15.94 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.5878, allocations: 23.84 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.5878, allocations: 0 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.5879, allocations: 4 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.5879, allocations: 7.984 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.5879, allocations: 19.92 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.125e-05/0.588, allocations: 43.81 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.588, allocations: 0 / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.51e-07/0.588, allocations: 0 / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.588, allocations: 0 / 1.018 GB, free: 1.02 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.0004838/0.5885, allocations: 365.6 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.5886, allocations: 8.031 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.5886, allocations: 34.75 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.5886, allocations: 8.938 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.5887, allocations: 168.3 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.5888, allocations: 384 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.5888, allocations: 4.375 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.589, allocations: 78.14 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.589, allocations: 3.938 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.5891, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5891, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.5893, allocations: 67.92 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.5897, allocations: 264.9 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.5899, allocations: 62.45 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.59, allocations: 36.92 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.59, allocations: 7.984 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.5901, allocations: 30.56 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5901, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004987/0.5906, allocations: 133.4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5906, allocations: 55.41 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.5907, allocations: 109.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.5907, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.5908, allocations: 96.06 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.5908, allocations: 11.75 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.5908, allocations: 21.72 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.591, allocations: 310.8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.5911, allocations: 31.95 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.5912, allocations: 31.97 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.5915, allocations: 72.72 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5915, allocations: 4 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003101/0.5918, allocations: 93.62 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5919, allocations: 7.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5919, allocations: 3.984 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.5919, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.592, allocations: 19.92 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.592, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.5921, allocations: 11.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.5921, allocations: 4 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 6.396e-05/0.5922, allocations: 110.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.5922, allocations: 7.906 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.5926, allocations: 109.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5926, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5926, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.5926, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.5927, allocations: 169.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5928, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.526e-05/0.5929, allocations: 19.92 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5929, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.5929, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5929, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5929, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.5932, allocations: 195.8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.5933, allocations: 85.06 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.5933, allocations: 7.984 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.5934, allocations: 11.97 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.5934, allocations: 4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.5935, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.5935, allocations: 91.27 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5935, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002061/0.5937, allocations: 4 kB / 1.021 GB, free: 13.73 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.0006327/0.5944, allocations: 0.7357 MB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.5947, allocations: 71.92 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5947, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.5948, allocations: 39.91 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.5951, allocations: 7.984 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.5955, allocations: 164.9 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.5958, allocations: 0.6848 MB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.5958, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.5959, allocations: 11.44 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.5959, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01008/0.606, allocations: 1.35 MB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.6062, allocations: 201.5 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.162, allocations: 0 / 1.025 GB, free: 10.4 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > 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/jenkins1/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