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.001721/0.001721, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001536/0.001536, allocations: 197.4 kB / 16.26 MB, free: 6.629 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.212/1.212, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.354/2.354, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4966, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01364/0.5102, allocations: 13.12 MB / 1.03 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.5126, allocations: 2.66 MB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.5126, allocations: 4 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.5129, allocations: 39.75 kB / 1.032 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.5131, allocations: 83.48 kB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.5139, allocations: 486.1 kB / 1.033 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.5142, allocations: 232 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.5142, allocations: 9.562 kB / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006122/0.5203, allocations: 3.356 MB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.5205, allocations: 95.66 kB / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.5205, allocations: 8 kB / 1.037 GB, free: 14.68 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.5224, allocations: 1.042 MB / 1.038 GB, free: 13.64 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.5225, allocations: 43.83 kB / 1.038 GB, free: 13.6 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.5226, allocations: 79.66 kB / 1.038 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.5231, allocations: 367.1 kB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.5231, allocations: 7.938 kB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5231, allocations: 0 / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.5231, allocations: 4 kB / 1.038 GB, free: 13.15 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.0006579/0.5238, allocations: 0.4992 MB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5238, allocations: 12.03 kB / 1.039 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.5239, allocations: 50.73 kB / 1.039 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.524, allocations: 24.83 kB / 1.039 GB, free: 12.51 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.5242, allocations: 216 kB / 1.039 GB, free: 12.26 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.5242, allocations: 12.7 kB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.5243, allocations: 12.38 kB / 1.039 GB, free: 12.24 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.5246, allocations: 252 kB / 1.039 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5246, allocations: 4 kB / 1.039 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.5246, allocations: 4 kB / 1.039 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.5247, allocations: 12 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.5251, allocations: 435.3 kB / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009786/0.5261, allocations: 0.9489 MB / 1.04 GB, free: 10.49 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.5264, allocations: 166.6 kB / 1.041 GB, free: 10.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.5265, allocations: 64.88 kB / 1.041 GB, free: 10.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.5277, allocations: 1.829 MB / 1.042 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5277, allocations: 38.5 kB / 1.042 GB, free: 8.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.5277, allocations: 0 / 1.042 GB, free: 8.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003095/0.528, allocations: 147.3 kB / 1.043 GB, free: 7.871 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.5281, allocations: 59.41 kB / 1.043 GB, free: 7.801 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.5282, allocations: 165.3 kB / 1.043 GB, free: 7.629 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.5282, allocations: 33.7 kB / 1.043 GB, free: 7.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.5283, allocations: 147.8 kB / 1.043 GB, free: 7.441 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.5284, allocations: 47.2 kB / 1.043 GB, free: 7.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.5284, allocations: 53.7 kB / 1.043 GB, free: 7.336 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5286, allocations: 322.8 kB / 1.043 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.5286, allocations: 39.97 kB / 1.043 GB, free: 6.973 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.5288, allocations: 137.7 kB / 1.044 GB, free: 6.789 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.529, allocations: 197.5 kB / 1.044 GB, free: 6.547 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.529, allocations: 4 kB / 1.044 GB, free: 6.543 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003064/0.5293, allocations: 218.9 kB / 1.044 GB, free: 6.324 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5293, allocations: 5.719 kB / 1.044 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5293, allocations: 4.469 kB / 1.044 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5294, allocations: 15.94 kB / 1.044 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.5295, allocations: 47.92 kB / 1.044 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5295, allocations: 11.92 kB / 1.044 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.5297, allocations: 23.75 kB / 1.044 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.5297, allocations: 16 kB / 1.044 GB, free: 6.203 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 9.155e-05/0.5298, allocations: 134.2 kB / 1.044 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.5298, allocations: 19.8 kB / 1.044 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.5301, allocations: 159 kB / 1.044 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.5301, allocations: 3.938 kB / 1.044 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5301, allocations: 4 kB / 1.044 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.5302, allocations: 0 / 1.044 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.5304, allocations: 229.3 kB / 1.045 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5304, allocations: 4 kB / 1.045 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.5305, allocations: 24 kB / 1.045 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5305, allocations: 0 / 1.045 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5305, allocations: 3.984 kB / 1.045 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.5305, allocations: 7.938 kB / 1.045 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5305, allocations: 0 / 1.045 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.5307, allocations: 220.9 kB / 1.045 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.5308, allocations: 112.8 kB / 1.045 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.5308, allocations: 8 kB / 1.045 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.531, allocations: 15.92 kB / 1.045 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.5311, allocations: 11.98 kB / 1.045 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.5311, allocations: 12 kB / 1.045 GB, free: 5.152 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.795e-05/0.5312, allocations: 122.3 kB / 1.045 GB, free: 5.035 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5312, allocations: 0 / 1.045 GB, free: 5.035 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003642/0.5316, allocations: 79.98 kB / 1.045 GB, free: 4.957 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.0007553/0.5323, allocations: 0.8301 MB / 1.046 GB, free: 4.102 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.5326, allocations: 133.4 kB / 1.046 GB, free: 3.973 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5326, allocations: 0 / 1.046 GB, free: 3.973 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.5327, allocations: 45.95 kB / 1.046 GB, free: 3.93 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.5331, allocations: 61.55 kB / 1.046 GB, free: 3.871 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.5351, allocations: 2.082 MB / 1.048 GB, free: 1.621 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.5353, allocations: 0.7128 MB / 1.049 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.5355, allocations: 53.69 kB / 1.049 GB, free: 0.832 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.5356, allocations: 47.42 kB / 1.049 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.5356, allocations: 0 / 1.049 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.191/2.727, allocations: 5.34 MB / 1.054 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/2.727, allocations: 219.7 kB / 1.054 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/4.984, allocations: 0 / 1.054 GB, free: 11.35 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