Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.001059/0.001059, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009364/0.0009364, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.398/2.398, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 0.8693 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5512, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01506/0.5663, allocations: 12.97 MB / 1.03 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.5689, allocations: 2.663 MB / 1.033 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.5691, allocations: 7.938 kB / 1.033 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.5693, allocations: 43.67 kB / 1.033 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.5696, allocations: 99.34 kB / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.5708, allocations: 0.5008 MB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.5711, allocations: 235.9 kB / 1.034 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.5711, allocations: 9.562 kB / 1.034 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007418/0.5786, allocations: 3.57 MB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.5787, allocations: 91.61 kB / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.5788, allocations: 8 kB / 1.037 GB, free: 14.24 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.5809, allocations: 1.075 MB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.581, allocations: 35.89 kB / 1.038 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.5811, allocations: 79.64 kB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.5818, allocations: 367 kB / 1.039 GB, free: 12.69 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5818, allocations: 0 / 1.039 GB, free: 12.69 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5818, allocations: 0 / 1.039 GB, free: 12.69 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.5818, allocations: 4 kB / 1.039 GB, free: 12.69 MB / 0.795 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.000722/0.5826, allocations: 0.4992 MB / 1.039 GB, free: 12.14 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5826, allocations: 12.03 kB / 1.039 GB, free: 12.13 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.5827, allocations: 54.72 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.5828, allocations: 20.83 kB / 1.039 GB, free: 12.05 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.5831, allocations: 220 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.5831, allocations: 12.69 kB / 1.039 GB, free: 11.78 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.5831, allocations: 16.38 kB / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.5835, allocations: 248 kB / 1.04 GB, free: 11.5 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.5835, allocations: 3.938 kB / 1.04 GB, free: 11.5 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.5835, allocations: 8 kB / 1.04 GB, free: 11.49 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.5836, allocations: 4 kB / 1.04 GB, free: 11.49 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.584, allocations: 443.3 kB / 1.04 GB, free: 11.05 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.5851, allocations: 0.9528 MB / 1.041 GB, free: 10.01 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.5854, allocations: 164.1 kB / 1.041 GB, free: 9.844 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/0.5855, allocations: 60.88 kB / 1.041 GB, free: 9.781 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.5868, allocations: 1.836 MB / 1.043 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5868, allocations: 38.56 kB / 1.043 GB, free: 7.539 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.5868, allocations: 4 kB / 1.043 GB, free: 7.535 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003374/0.5871, allocations: 143.3 kB / 1.043 GB, free: 7.391 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.5872, allocations: 55.41 kB / 1.043 GB, free: 7.324 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.5873, allocations: 168.8 kB / 1.043 GB, free: 7.148 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.5874, allocations: 33.7 kB / 1.043 GB, free: 7.109 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.5875, allocations: 139.8 kB / 1.044 GB, free: 6.969 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.5875, allocations: 55.2 kB / 1.044 GB, free: 6.914 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.5876, allocations: 49.7 kB / 1.044 GB, free: 6.859 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5877, allocations: 330.8 kB / 1.044 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.5878, allocations: 35.97 kB / 1.044 GB, free: 6.492 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.5879, allocations: 138.2 kB / 1.044 GB, free: 6.309 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.5881, allocations: 207.1 kB / 1.044 GB, free: 6.059 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5881, allocations: 0 / 1.044 GB, free: 6.059 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003259/0.5885, allocations: 209.1 kB / 1.045 GB, free: 5.848 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5885, allocations: 4.469 kB / 1.045 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.5885, allocations: 8 kB / 1.045 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5885, allocations: 7.938 kB / 1.045 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.5887, allocations: 59.86 kB / 1.045 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5887, allocations: 11.97 kB / 1.045 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.5888, allocations: 23.75 kB / 1.045 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.5889, allocations: 19.94 kB / 1.045 GB, free: 5.715 MB / 0.795 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.0001015/0.589, allocations: 129.7 kB / 1.045 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.589, allocations: 15.81 kB / 1.045 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.5893, allocations: 168.2 kB / 1.045 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.5894, allocations: 3.938 kB / 1.045 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5894, allocations: 0 / 1.045 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5894, allocations: 0 / 1.045 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.5896, allocations: 225.4 kB / 1.045 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5896, allocations: 7.938 kB / 1.045 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.5897, allocations: 16 kB / 1.045 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5897, allocations: 4 kB / 1.045 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5898, allocations: 7.984 kB / 1.045 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5898, allocations: 3.938 kB / 1.045 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5898, allocations: 0 / 1.045 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.59, allocations: 220.1 kB / 1.045 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.5901, allocations: 112.8 kB / 1.046 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.5902, allocations: 4 kB / 1.046 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.5903, allocations: 19.91 kB / 1.046 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.5904, allocations: 11.98 kB / 1.046 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.5904, allocations: 8 kB / 1.046 GB, free: 4.676 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.875e-05/0.5905, allocations: 129.6 kB / 1.046 GB, free: 4.551 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5905, allocations: 0 / 1.046 GB, free: 4.551 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003693/0.5909, allocations: 75.98 kB / 1.046 GB, free: 4.477 MB / 0.795 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.0006618/0.5915, allocations: 0.8302 MB / 1.047 GB, free: 3.621 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.5918, allocations: 126.6 kB / 1.047 GB, free: 3.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5918, allocations: 4 kB / 1.047 GB, free: 3.496 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.514e-05/0.5919, allocations: 47.86 kB / 1.047 GB, free: 3.449 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.5923, allocations: 51.91 kB / 1.047 GB, free: 3.398 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.5944, allocations: 2.044 MB / 1.049 GB, free: 1.191 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.5947, allocations: 0.709 MB / 1.05 GB, free: 468 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.5949, allocations: 61.66 kB / 1.05 GB, free: 408 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.595, allocations: 43.42 kB / 1.05 GB, free: 364 kB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.595, allocations: 0 / 1.05 GB, free: 364 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0633/0.6583, allocations: 5.44 MB / 1.055 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/8.169, allocations: 3.328 kB / 1.055 GB, free: 11.04 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches