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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003601/0.003601, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001105/0.001105, allocations: 200.2 kB / 16.68 MB, free: 5.969 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.219/1.219, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.496/2.496, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 55.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2526, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005331/0.2579, allocations: 4.726 MB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002672/0.2606, allocations: 2.702 MB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.2607, allocations: 0 / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.2609, allocations: 47.67 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.2611, allocations: 99.36 kB / 1.228 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009234/0.2621, allocations: 0.4993 MB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.2623, allocations: 231.9 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.2623, allocations: 13.56 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.2625, allocations: 127.6 kB / 1.228 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.2627, allocations: 87.61 kB / 1.229 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.2627, allocations: 8 kB / 1.229 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005916/0.2633, allocations: 359.4 kB / 1.229 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.2634, allocations: 43.77 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.2635, allocations: 79.66 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000523/0.264, allocations: 358.9 kB / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.264, allocations: 3.984 kB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.264, allocations: 0 / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.264, allocations: 4 kB / 1.229 GB, free: 4.859 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.0006553/0.2647, allocations: 0.4987 MB / 1.23 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2647, allocations: 12.03 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.2648, allocations: 46.73 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.2649, allocations: 32.72 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2651, allocations: 220.1 kB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2652, allocations: 8.703 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.2652, allocations: 16.38 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.2656, allocations: 248 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2656, allocations: 4 kB / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.2656, allocations: 11.92 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.2656, allocations: 11.94 kB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.2661, allocations: 431.5 kB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2672, allocations: 0.9411 MB / 1.232 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.2674, allocations: 155.1 kB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2676, allocations: 68.88 kB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.269, allocations: 1.833 MB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.269, allocations: 34.56 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.269, allocations: 0 / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0002939/0.2693, allocations: 151.1 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.2693, allocations: 59.41 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2695, allocations: 168 kB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2695, allocations: 29.7 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.2696, allocations: 152 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.2697, allocations: 51.53 kB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.2697, allocations: 61.59 kB / 1.234 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2699, allocations: 322.8 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.2699, allocations: 35.97 kB / 1.235 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2701, allocations: 142.7 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.2703, allocations: 205.4 kB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2703, allocations: 0 / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003004/0.2706, allocations: 212.5 kB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2706, allocations: 4 kB / 1.235 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2707, allocations: 4 kB / 1.235 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2707, allocations: 11.94 kB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2708, allocations: 48.39 kB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.2708, allocations: 11.98 kB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.271, allocations: 35.67 kB / 1.235 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.271, allocations: 16 kB / 1.235 GB, free: 13.89 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.0001016/0.2711, allocations: 129.7 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.2711, allocations: 11.95 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.2714, allocations: 159 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.2714, allocations: 3.938 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2714, allocations: 0 / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2714, allocations: 8 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.2717, allocations: 213.5 kB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2717, allocations: 3.938 kB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.2718, allocations: 27.94 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2718, allocations: 0 / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2718, allocations: 3.984 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2718, allocations: 3.938 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.2718, allocations: 7.984 kB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.2721, allocations: 219.4 kB / 1.236 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.2722, allocations: 105 kB / 1.236 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.2722, allocations: 7.984 kB / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.2724, allocations: 11.94 kB / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.2724, allocations: 15.98 kB / 1.236 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.2724, allocations: 11.98 kB / 1.236 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.2725, allocations: 123.9 kB / 1.236 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2725, allocations: 0 / 1.236 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003392/0.2729, allocations: 87.78 kB / 1.237 GB, free: 12.65 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.0006581/0.2735, allocations: 0.8285 MB / 1.237 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.2738, allocations: 119.7 kB / 1.237 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2738, allocations: 0 / 1.237 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.217e-05/0.2738, allocations: 43.92 kB / 1.237 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.2742, allocations: 60.81 kB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.2762, allocations: 2.048 MB / 1.24 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.2765, allocations: 0.709 MB / 1.24 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.2767, allocations: 49.73 kB / 1.24 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.2768, allocations: 47.42 kB / 1.24 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.2768, allocations: 4 kB / 1.24 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3524/0.6291, allocations: 5.244 MB / 1.245 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.21, allocations: 5.547 kB / 1.245 GB, free: 3.383 MB / 0.9981 GB (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) 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) Reference file matches