Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_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.001785/0.001785, 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.002104/0.002104, allocations: 194.5 kB / 16.25 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 2.225/2.224, 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 11.0.1-master/package.mo): time 3.401/3.401, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001445, allocations: 63.45 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2883, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02022/0.3085, allocations: 13.12 MB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004082/0.3127, allocations: 2.664 MB / 1.068 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.3129, allocations: 4 kB / 1.068 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.3134, allocations: 35.81 kB / 1.068 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.314, allocations: 91.47 kB / 1.068 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.3165, allocations: 471.9 kB / 1.068 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.3169, allocations: 236 kB / 1.069 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.455e-05/0.317, allocations: 9.562 kB / 1.069 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0151/0.3321, allocations: 3.358 MB / 1.072 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.3324, allocations: 95.66 kB / 1.072 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.3325, allocations: 8 kB / 1.072 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.3369, allocations: 1.045 MB / 1.073 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.337, allocations: 35.89 kB / 1.073 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.3372, allocations: 87.58 kB / 1.073 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3385, allocations: 371 kB / 1.073 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3386, allocations: 4 kB / 1.073 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.819e-06/0.3386, allocations: 0 / 1.073 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.547e-06/0.3386, allocations: 3.938 kB / 1.073 GB, free: 2.961 MB / 0.8262 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.001247/0.3399, allocations: 0.4953 MB / 1.074 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.3399, allocations: 16.56 kB / 1.074 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.697e-05/0.34, allocations: 46.73 kB / 1.074 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.3404, allocations: 24.75 kB / 1.074 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3407, allocations: 212.1 kB / 1.074 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.3408, allocations: 24.69 kB / 1.074 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.3408, allocations: 12.38 kB / 1.074 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.3415, allocations: 251.8 kB / 1.075 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.3416, allocations: 0 / 1.075 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.3416, allocations: 11.98 kB / 1.075 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.3417, allocations: 8 kB / 1.075 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000906/0.3426, allocations: 427.5 kB / 1.075 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.3446, allocations: 0.9643 MB / 1.076 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.3451, allocations: 155.1 kB / 1.076 GB, free: 128 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.3453, allocations: 64.81 kB / 1.076 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002353/0.3477, allocations: 1.833 MB / 1.078 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.3477, allocations: 42.56 kB / 1.078 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 3.286e-06/0.3477, allocations: 0 / 1.078 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0005805/0.3483, allocations: 141.4 kB / 1.078 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.3484, allocations: 59.34 kB / 1.078 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.3487, allocations: 168 kB / 1.078 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.3487, allocations: 29.7 kB / 1.078 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3489, allocations: 143.8 kB / 1.078 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.3489, allocations: 55.19 kB / 1.079 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3491, allocations: 53.7 kB / 1.079 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3492, allocations: 322.8 kB / 1.079 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3494, allocations: 35.97 kB / 1.079 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.3497, allocations: 146.2 kB / 1.079 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.3501, allocations: 211.4 kB / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3501, allocations: 0 / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006249/0.3507, allocations: 209.6 kB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3508, allocations: 8 kB / 1.079 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3508, allocations: 7.938 kB / 1.079 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.3508, allocations: 11.94 kB / 1.079 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.3512, allocations: 59.89 kB / 1.08 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.855e-05/0.3512, allocations: 7.938 kB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.3515, allocations: 23.69 kB / 1.08 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.3515, allocations: 16 kB / 1.08 GB, free: 11.98 MB / 0.8419 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.0001761/0.3517, allocations: 131 kB / 1.08 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3518, allocations: 23.81 kB / 1.08 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.3523, allocations: 156.9 kB / 1.08 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.3524, allocations: 7.938 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3524, allocations: 0 / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3524, allocations: 4 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.3528, allocations: 217.4 kB / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3529, allocations: 0 / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.353, allocations: 31.92 kB / 1.08 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3531, allocations: 0 / 1.08 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.3531, allocations: 8 kB / 1.08 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.3531, allocations: 7.938 kB / 1.08 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3531, allocations: 0 / 1.08 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.3536, allocations: 211.3 kB / 1.08 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.3537, allocations: 112.9 kB / 1.08 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.3538, allocations: 4 kB / 1.08 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.3542, allocations: 19.92 kB / 1.08 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3542, allocations: 11.98 kB / 1.08 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.3543, allocations: 15.98 kB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001671/0.3545, allocations: 120 kB / 1.081 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3545, allocations: 0 / 1.081 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007699/0.3553, allocations: 71.94 kB / 1.081 GB, free: 10.76 MB / 0.8419 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.001367/0.3567, allocations: 0.8437 MB / 1.082 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004463/0.3571, allocations: 128.5 kB / 1.082 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3572, allocations: 0 / 1.082 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.3573, allocations: 43.92 kB / 1.082 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008321/0.3581, allocations: 57.75 kB / 1.082 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.3621, allocations: 2.077 MB / 1.084 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.3625, allocations: 0.7128 MB / 1.084 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003622/0.3629, allocations: 49.69 kB / 1.085 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.363, allocations: 47.42 kB / 1.085 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.363, allocations: 4 kB / 1.085 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.282/1.645, allocations: 5.337 MB / 1.09 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003969/1.646, allocations: 217.6 kB / 1.09 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.768/5.413, allocations: 0 / 1.09 GB, free: 1.172 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches