Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 101.8 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002606/0.002606, allocations: 219.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 66 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3155, allocations: 169.9 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007729/0.3232, allocations: 4.845 MB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003382/0.3266, allocations: 2.737 MB / 1.292 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.3267, allocations: 0 / 1.292 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.327, allocations: 47.67 kB / 1.292 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.3273, allocations: 103.4 kB / 1.292 GB, free: 4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.3287, allocations: 0.5275 MB / 1.292 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.329, allocations: 235.9 kB / 1.292 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.329, allocations: 9.734 kB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.3293, allocations: 115.6 kB / 1.293 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.3294, allocations: 95.59 kB / 1.293 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.3294, allocations: 8 kB / 1.293 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008448/0.3303, allocations: 399.2 kB / 1.293 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.201e-05/0.3304, allocations: 35.89 kB / 1.293 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.3305, allocations: 79.66 kB / 1.293 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007321/0.3312, allocations: 370.3 kB / 1.294 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3312, allocations: 4 kB / 1.294 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3312, allocations: 0 / 1.294 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.3312, allocations: 0 / 1.294 GB, free: 2.148 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009095/0.3321, allocations: 455.3 kB / 1.294 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.3322, allocations: 12.02 kB / 1.294 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.349e-05/0.3322, allocations: 4.516 kB / 1.294 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.3323, allocations: 50.73 kB / 1.294 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3324, allocations: 20.84 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3328, allocations: 162.3 kB / 1.294 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3328, allocations: 8.703 kB / 1.294 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.3328, allocations: 20.12 kB / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.3333, allocations: 252 kB / 1.294 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.3333, allocations: 4 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.3333, allocations: 7.984 kB / 1.294 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.3334, allocations: 12 kB / 1.294 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.334, allocations: 435.5 kB / 1.295 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.3353, allocations: 0.9324 MB / 1.296 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.3355, allocations: 147 kB / 1.296 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3356, allocations: 52.89 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007522/0.3364, allocations: 467.9 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3364, allocations: 42.55 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 3.296e-06/0.3364, allocations: 3.984 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003447/0.3368, allocations: 149.4 kB / 1.297 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.3368, allocations: 51.41 kB / 1.297 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.337, allocations: 175.2 kB / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.337, allocations: 33.64 kB / 1.297 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.3371, allocations: 144 kB / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.3372, allocations: 55.59 kB / 1.297 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3373, allocations: 57.59 kB / 1.297 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3375, allocations: 326.8 kB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.3376, allocations: 35.98 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.3377, allocations: 150.4 kB / 1.298 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.338, allocations: 193.5 kB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.338, allocations: 4 kB / 1.298 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000373/0.3384, allocations: 217.5 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3384, allocations: 8 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3384, allocations: 4 kB / 1.298 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3384, allocations: 7.938 kB / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.3386, allocations: 55.86 kB / 1.298 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.3386, allocations: 11.98 kB / 1.298 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3388, allocations: 23.84 kB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.3388, allocations: 19.98 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001405/0.3389, allocations: 138.5 kB / 1.298 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.339, allocations: 15.91 kB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.3393, allocations: 157.9 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3393, allocations: 4 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3393, allocations: 0 / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3393, allocations: 3.984 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.3396, allocations: 184.6 kB / 1.299 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3396, allocations: 0 / 1.299 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.3397, allocations: 27.98 kB / 1.299 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3397, allocations: 0 / 1.299 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3397, allocations: 11.94 kB / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3397, allocations: 0 / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3397, allocations: 0 / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.34, allocations: 227.3 kB / 1.299 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.34, allocations: 31.81 kB / 1.299 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.3401, allocations: 3.938 kB / 1.299 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.3403, allocations: 15.98 kB / 1.299 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.3403, allocations: 7.984 kB / 1.299 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.3403, allocations: 19.98 kB / 1.299 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.763e-05/0.3404, allocations: 120 kB / 1.299 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3404, allocations: 0 / 1.299 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004061/0.3408, allocations: 79.86 kB / 1.299 GB, free: 11.95 MB / 0.9981 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008073/0.3416, allocations: 0.8331 MB / 1.3 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.3419, allocations: 115.8 kB / 1.3 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3419, allocations: 0 / 1.3 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.342, allocations: 43.92 kB / 1.3 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.3424, allocations: 57.92 kB / 1.3 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.3449, allocations: 2.042 MB / 1.302 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.3452, allocations: 0.7167 MB / 1.303 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.3454, allocations: 53.78 kB / 1.303 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/0.3455, allocations: 43.42 kB / 1.303 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.3455, allocations: 0 / 1.303 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.3726, allocations: 5.59 MB / 1.308 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.13, allocations: 15.62 kB / 1.308 GB, free: 2.414 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_WaterProperties.fmu > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.956622317957226]