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.002662/0.002662, allocations: 108 kB / 15.61 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.003114/0.003114, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.48/2.48, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 66.97 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.24, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01403/0.254, allocations: 12.98 MB / 1.066 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.2565, allocations: 2.675 MB / 1.068 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.2566, allocations: 0 / 1.068 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.2568, allocations: 47.67 kB / 1.068 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.2571, allocations: 99.36 kB / 1.068 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.2581, allocations: 0.4896 MB / 1.069 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.2584, allocations: 232 kB / 1.069 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.2584, allocations: 13.56 kB / 1.069 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006975/0.2654, allocations: 3.587 MB / 1.073 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.2655, allocations: 87.67 kB / 1.073 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.2656, allocations: 8 kB / 1.073 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.2675, allocations: 1.071 MB / 1.074 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.2676, allocations: 39.89 kB / 1.074 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.2677, allocations: 79.64 kB / 1.074 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.2683, allocations: 367 kB / 1.074 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2683, allocations: 0 / 1.074 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2683, allocations: 0 / 1.074 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.2683, allocations: 4 kB / 1.074 GB, free: 2.469 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.0006305/0.269, allocations: 0.4953 MB / 1.075 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.269, allocations: 12.62 kB / 1.075 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.2691, allocations: 50.72 kB / 1.075 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.2692, allocations: 36.73 kB / 1.075 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.2694, allocations: 212.1 kB / 1.075 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2694, allocations: 8.703 kB / 1.075 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.2695, allocations: 16.38 kB / 1.075 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.2698, allocations: 251.8 kB / 1.075 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.2698, allocations: 0 / 1.075 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.2698, allocations: 12 kB / 1.075 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.2699, allocations: 11.94 kB / 1.075 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.2703, allocations: 427.5 kB / 1.076 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009854/0.2713, allocations: 0.9643 MB / 1.077 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.2716, allocations: 155.1 kB / 1.077 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.355e-05/0.2717, allocations: 64.81 kB / 1.077 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.2729, allocations: 1.837 MB / 1.079 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.2729, allocations: 38.56 kB / 1.079 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.2729, allocations: 0 / 1.079 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0002969/0.2732, allocations: 139.6 kB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.2732, allocations: 63.33 kB / 1.079 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2734, allocations: 168 kB / 1.079 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2734, allocations: 29.7 kB / 1.079 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.2735, allocations: 151.8 kB / 1.079 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.2735, allocations: 51.2 kB / 1.079 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.2736, allocations: 49.7 kB / 1.079 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.2737, allocations: 322.8 kB / 1.08 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.2738, allocations: 35.97 kB / 1.08 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.2739, allocations: 139 kB / 1.08 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2742, allocations: 203.1 kB / 1.08 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2742, allocations: 0 / 1.08 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002993/0.2745, allocations: 217.2 kB / 1.08 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2745, allocations: 4 kB / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2745, allocations: 4 kB / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2745, allocations: 11.94 kB / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.2747, allocations: 55.86 kB / 1.08 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2747, allocations: 11.92 kB / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2748, allocations: 27.69 kB / 1.08 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.2748, allocations: 12.38 kB / 1.08 GB, free: 11.5 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 9.211e-05/0.2749, allocations: 135 kB / 1.08 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.275, allocations: 19.81 kB / 1.08 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.2753, allocations: 153.6 kB / 1.081 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.2753, allocations: 3.938 kB / 1.081 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2753, allocations: 3.984 kB / 1.081 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2753, allocations: 4 kB / 1.081 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.2755, allocations: 217.5 kB / 1.081 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2755, allocations: 4 kB / 1.081 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.479e-05/0.2756, allocations: 31.92 kB / 1.081 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2756, allocations: 3.938 kB / 1.081 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2756, allocations: 4 kB / 1.081 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2756, allocations: 3.938 kB / 1.081 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2757, allocations: 7.984 kB / 1.081 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.2759, allocations: 207.4 kB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.276, allocations: 116.8 kB / 1.081 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.276, allocations: 0 / 1.081 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.2762, allocations: 23.92 kB / 1.081 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.2762, allocations: 8 kB / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.2762, allocations: 15.97 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.287e-05/0.2763, allocations: 120 kB / 1.081 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2763, allocations: 0 / 1.081 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000354/0.2767, allocations: 83.92 kB / 1.081 GB, free: 10.27 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.0006456/0.2774, allocations: 0.836 MB / 1.082 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.2776, allocations: 127.8 kB / 1.082 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2776, allocations: 4 kB / 1.082 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.2777, allocations: 47.84 kB / 1.082 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.2781, allocations: 56.84 kB / 1.082 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.28, allocations: 2.019 MB / 1.084 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.2802, allocations: 0.7129 MB / 1.085 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000173/0.2804, allocations: 61.61 kB / 1.085 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.2805, allocations: 43.42 kB / 1.085 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2805, allocations: 0 / 1.085 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.337/1.618, allocations: 5.433 MB / 1.09 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.558/11.18, allocations: 12.89 kB / 1.09 GB, free: 0.8398 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