Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001441/0.001441, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001591/0.001591, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.331/1.331, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.907/2.907, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",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.001972/0.001972, allocations: 68.8 kB / 1.186 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3021, allocations: 181.9 MB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005868/0.308, allocations: 4.517 MB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002882/0.3109, allocations: 2.453 MB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.3109, allocations: 0 / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.3112, allocations: 43.69 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.3114, allocations: 103.4 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.3124, allocations: 0.5217 MB / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.3127, allocations: 235.9 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.3127, allocations: 9.734 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.3129, allocations: 123.5 kB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3131, allocations: 87.66 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.3131, allocations: 8 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.3137, allocations: 307.4 kB / 1.372 GB, free: 5.734 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.3137, allocations: 43.83 kB / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.3138, allocations: 75.7 kB / 1.372 GB, free: 5.617 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.3143, allocations: 359.1 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3143, allocations: 0 / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3143, allocations: 0 / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3143, allocations: 0 / 1.372 GB, free: 5.266 MB / 1.061 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.0007336/0.3151, allocations: 449.4 kB / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.3151, allocations: 8.031 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.578e-05/0.3152, allocations: 54.73 kB / 1.373 GB, free: 4.723 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.3153, allocations: 20.84 kB / 1.373 GB, free: 4.703 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.3155, allocations: 158.2 kB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3156, allocations: 12.7 kB / 1.373 GB, free: 4.512 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.3156, allocations: 16.38 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.3161, allocations: 491.2 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3161, allocations: 0 / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.3161, allocations: 12 kB / 1.373 GB, free: 3.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.3161, allocations: 7.984 kB / 1.373 GB, free: 3.922 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.3166, allocations: 423.5 kB / 1.374 GB, free: 3.508 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.3177, allocations: 0.8008 MB / 1.374 GB, free: 2.648 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.318, allocations: 158.7 kB / 1.375 GB, free: 2.488 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-05/0.3181, allocations: 48.89 kB / 1.375 GB, free: 2.438 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007112/0.3188, allocations: 455.9 kB / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3189, allocations: 38.56 kB / 1.375 GB, free: 1.926 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.3189, allocations: 0 / 1.375 GB, free: 1.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003173/0.3192, allocations: 149.4 kB / 1.375 GB, free: 1.773 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.3192, allocations: 55.41 kB / 1.375 GB, free: 1.707 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3194, allocations: 183.1 kB / 1.375 GB, free: 1.516 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3194, allocations: 33.7 kB / 1.375 GB, free: 1.477 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.687e-05/0.3195, allocations: 136.1 kB / 1.376 GB, free: 1.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.3195, allocations: 63.47 kB / 1.376 GB, free: 1.277 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.3196, allocations: 53.69 kB / 1.376 GB, free: 1.219 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3198, allocations: 326.8 kB / 1.376 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.3198, allocations: 27.98 kB / 1.376 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.32, allocations: 154.1 kB / 1.376 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.3202, allocations: 189.5 kB / 1.376 GB, free: 440 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3202, allocations: 4 kB / 1.376 GB, free: 436 kB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003351/0.3206, allocations: 215.3 kB / 1.377 GB, free: 216 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3206, allocations: 8 kB / 1.377 GB, free: 208 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3206, allocations: 4 kB / 1.377 GB, free: 204 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3206, allocations: 12.34 kB / 1.377 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.3208, allocations: 67.84 kB / 1.377 GB, free: 124 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3208, allocations: 7.938 kB / 1.377 GB, free: 116 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3209, allocations: 31.78 kB / 1.377 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.3209, allocations: 15.97 kB / 1.377 GB, free: 68 kB / 1.061 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.0001313/0.3211, allocations: 133.8 kB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.3211, allocations: 19.89 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.3214, allocations: 146.9 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.3214, allocations: 7.938 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3214, allocations: 0 / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3214, allocations: 7.984 kB / 1.377 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.3217, allocations: 180.6 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3217, allocations: 0 / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.3218, allocations: 27.98 kB / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3218, allocations: 0 / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3218, allocations: 8 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3218, allocations: 7.922 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3218, allocations: 0 / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3221, allocations: 225.7 kB / 1.377 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.3221, allocations: 31.81 kB / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3222, allocations: 0 / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.3224, allocations: 27.86 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.3224, allocations: 11.97 kB / 1.378 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.3224, allocations: 16 kB / 1.378 GB, free: 15.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.643e-05/0.3225, allocations: 120 kB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3225, allocations: 0 / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003785/0.3229, allocations: 79.86 kB / 1.378 GB, free: 14.96 MB / 1.076 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.0007633/0.3236, allocations: 0.8292 MB / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.3239, allocations: 118.1 kB / 1.379 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3239, allocations: 0 / 1.379 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.324, allocations: 44.84 kB / 1.379 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.3244, allocations: 58.47 kB / 1.379 GB, free: 13.89 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.3266, allocations: 2.042 MB / 1.381 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.71e-05/0.3267, allocations: 107.2 kB / 1.381 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.3269, allocations: 45.8 kB / 1.381 GB, free: 11.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.349e-05/0.327, allocations: 47.42 kB / 1.381 GB, free: 11.46 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.327, allocations: 0 / 1.381 GB, free: 11.46 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.3588, allocations: 6.095 MB / 1.387 GB, free: 5.57 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.52, allocations: 19.92 kB / 1.387 GB, free: 5.551 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.50854923017323]