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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.792/2.792, allocations: 476.7 MB / 0.7629 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 68.12 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9123/0.9151, allocations: 168.7 MB / 1.272 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005076/0.9201, allocations: 4.793 MB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002238/0.9224, allocations: 2.716 MB / 1.279 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.9225, allocations: 5.281 kB / 1.279 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.9227, allocations: 45.16 kB / 1.279 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.9229, allocations: 98.05 kB / 1.279 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.924, allocations: 0.5072 MB / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.9242, allocations: 240.6 kB / 1.28 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.9242, allocations: 7.828 kB / 1.28 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.9244, allocations: 115.2 kB / 1.28 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.9245, allocations: 92.02 kB / 1.28 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.9246, allocations: 11.47 kB / 1.28 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.9252, allocations: 377.2 kB / 1.28 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.9253, allocations: 35.06 kB / 1.28 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.9254, allocations: 84.81 kB / 1.28 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.9259, allocations: 366.4 kB / 1.281 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9259, allocations: 1.031 kB / 1.281 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9259, allocations: 0 / 1.281 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.9259, allocations: 0 / 1.281 GB, free: 1.469 MB / 0.9981 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.0006433/0.9266, allocations: 0.503 MB / 1.281 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.9266, allocations: 9.875 kB / 1.281 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.9267, allocations: 48.88 kB / 1.281 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.9268, allocations: 23.36 kB / 1.281 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.9271, allocations: 221.4 kB / 1.282 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.9271, allocations: 16.33 kB / 1.282 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.9271, allocations: 17.8 kB / 1.282 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.9275, allocations: 249.7 kB / 1.282 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.9275, allocations: 0.6094 kB / 1.282 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.9275, allocations: 7.219 kB / 1.282 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.9276, allocations: 9.906 kB / 1.282 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.9281, allocations: 425.8 kB / 1.282 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.9292, allocations: 0.9499 MB / 1.283 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.9295, allocations: 145 kB / 1.283 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.9296, allocations: 59.28 kB / 1.283 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.9311, allocations: 1.825 MB / 1.285 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.9311, allocations: 39.41 kB / 1.285 GB, free: 13.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.9311, allocations: 0 / 1.285 GB, free: 13.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0003433/0.9315, allocations: 153.8 kB / 1.285 GB, free: 13.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.9315, allocations: 52.28 kB / 1.285 GB, free: 13.35 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.9317, allocations: 174.2 kB / 1.286 GB, free: 13.22 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.9317, allocations: 31.67 kB / 1.286 GB, free: 13.19 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.9318, allocations: 141.6 kB / 1.286 GB, free: 13.06 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.9319, allocations: 65.5 kB / 1.286 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.9319, allocations: 50.91 kB / 1.286 GB, free: 12.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9321, allocations: 326.8 kB / 1.286 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.9322, allocations: 39.53 kB / 1.286 GB, free: 12.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.9323, allocations: 143.9 kB / 1.286 GB, free: 12.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.9325, allocations: 198.5 kB / 1.287 GB, free: 12.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9326, allocations: 0 / 1.287 GB, free: 12.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003401/0.9329, allocations: 215.5 kB / 1.287 GB, free: 12.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.9329, allocations: 9.078 kB / 1.287 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.9329, allocations: 2.219 kB / 1.287 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.9329, allocations: 9.406 kB / 1.287 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.9331, allocations: 63.84 kB / 1.287 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9331, allocations: 4.188 kB / 1.287 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.9332, allocations: 32.92 kB / 1.287 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.9333, allocations: 12.72 kB / 1.287 GB, free: 12.17 MB / 1.014 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.000117/0.9334, allocations: 135 kB / 1.287 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.9334, allocations: 21.25 kB / 1.287 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.9337, allocations: 152.9 kB / 1.287 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.9337, allocations: 6.25 kB / 1.287 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.9338, allocations: 0.7812 kB / 1.287 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9338, allocations: 0.7969 kB / 1.287 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.934, allocations: 217.6 kB / 1.287 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.934, allocations: 0.7969 kB / 1.287 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.709e-05/0.9341, allocations: 23.58 kB / 1.287 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.9341, allocations: 0 / 1.287 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.9341, allocations: 10.2 kB / 1.287 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.9341, allocations: 3.938 kB / 1.287 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9341, allocations: 1.75 kB / 1.287 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.9344, allocations: 217.9 kB / 1.288 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.9345, allocations: 108.3 kB / 1.288 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.9345, allocations: 0.75 kB / 1.288 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.9347, allocations: 19.03 kB / 1.288 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.9347, allocations: 15.16 kB / 1.288 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.9348, allocations: 10.45 kB / 1.288 GB, free: 11.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.273e-05/0.9349, allocations: 121 kB / 1.288 GB, free: 11.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9349, allocations: 0 / 1.288 GB, free: 11.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004027/0.9353, allocations: 80.12 kB / 1.288 GB, free: 11.32 MB / 1.014 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.0007589/0.936, allocations: 0.8344 MB / 1.289 GB, free: 10.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.9363, allocations: 115.2 kB / 1.289 GB, free: 10.56 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.9363, allocations: 1.781 kB / 1.289 GB, free: 10.56 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.824e-05/0.9363, allocations: 42.39 kB / 1.289 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.9368, allocations: 58.81 kB / 1.289 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.9391, allocations: 2.053 MB / 1.291 GB, free: 8.836 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.9394, allocations: 0.7173 MB / 1.292 GB, free: 8.133 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.9396, allocations: 48.95 kB / 1.292 GB, free: 8.113 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.9397, allocations: 46.81 kB / 1.292 GB, free: 8.086 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/0.9397, allocations: 0 / 1.292 GB, free: 8.086 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.9715, allocations: 5.273 MB / 1.297 GB, free: 7.379 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/9.038, allocations: 6.891 kB / 1.297 GB, free: 7.379 MB / 1.014 GB " [Timeout remaining time 291] (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 --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_2/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: 15.076849717006553]