Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_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.00556/0.005565, allocations: 99.44 kB / 15.73 MB, free: 6.039 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.001657/0.001657, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.449/2.449, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 63.89 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2468, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01384/0.2606, allocations: 12.97 MB / 1.233 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002549/0.2632, allocations: 2.667 MB / 1.236 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.2633, allocations: 0 / 1.236 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.2635, allocations: 47.67 kB / 1.236 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.2637, allocations: 95.38 kB / 1.236 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.2646, allocations: 0.5054 MB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.2648, allocations: 235.9 kB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.2649, allocations: 17.55 kB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006552/0.2714, allocations: 3.574 MB / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.2716, allocations: 91.61 kB / 1.24 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.2716, allocations: 8 kB / 1.24 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.2734, allocations: 1.069 MB / 1.241 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.2735, allocations: 39.89 kB / 1.241 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.385e-05/0.2736, allocations: 83.64 kB / 1.241 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.2741, allocations: 370.8 kB / 1.241 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.676e-06/0.2741, allocations: 4 kB / 1.241 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2741, allocations: 0 / 1.241 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.2741, allocations: 0 / 1.241 GB, free: 8.398 MB / 0.9981 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.0006519/0.2748, allocations: 0.4986 MB / 1.242 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.2748, allocations: 12.03 kB / 1.242 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.2749, allocations: 46.73 kB / 1.242 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.275, allocations: 32.83 kB / 1.242 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2753, allocations: 216.1 kB / 1.242 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2753, allocations: 16.7 kB / 1.242 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.2753, allocations: 16.36 kB / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.2757, allocations: 252 kB / 1.243 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2757, allocations: 0 / 1.243 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.2757, allocations: 8 kB / 1.243 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.2757, allocations: 11.98 kB / 1.243 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.2762, allocations: 423.5 kB / 1.243 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.2772, allocations: 0.9645 MB / 1.244 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.2775, allocations: 155.1 kB / 1.244 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.2776, allocations: 64.88 kB / 1.244 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.2789, allocations: 1.84 MB / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.279, allocations: 38.56 kB / 1.246 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.153e-06/0.279, allocations: 3.938 kB / 1.246 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0002962/0.2793, allocations: 143.6 kB / 1.246 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.2793, allocations: 55.41 kB / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2794, allocations: 168 kB / 1.246 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2795, allocations: 29.7 kB / 1.246 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.2796, allocations: 148 kB / 1.246 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.2796, allocations: 63.52 kB / 1.247 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.2797, allocations: 53.59 kB / 1.247 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2798, allocations: 322.8 kB / 1.247 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.2799, allocations: 43.97 kB / 1.247 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.28, allocations: 142.7 kB / 1.247 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.2802, allocations: 208.1 kB / 1.247 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2803, allocations: 0 / 1.247 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003078/0.2806, allocations: 213.5 kB / 1.247 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2806, allocations: 11.94 kB / 1.247 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.2806, allocations: 4 kB / 1.247 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2806, allocations: 7.938 kB / 1.247 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2808, allocations: 55.91 kB / 1.248 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2808, allocations: 7.984 kB / 1.248 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.745e-05/0.2809, allocations: 27.73 kB / 1.248 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.2809, allocations: 16 kB / 1.248 GB, free: 1.402 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.0001005/0.281, allocations: 133.9 kB / 1.248 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.2811, allocations: 15.95 kB / 1.248 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.2813, allocations: 162.9 kB / 1.248 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.2814, allocations: 7.938 kB / 1.248 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2814, allocations: 0 / 1.248 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2814, allocations: 0 / 1.248 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.2816, allocations: 217.5 kB / 1.248 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2816, allocations: 0 / 1.248 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.2817, allocations: 23.98 kB / 1.248 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2817, allocations: 0 / 1.248 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2817, allocations: 8 kB / 1.248 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2817, allocations: 7.938 kB / 1.248 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2817, allocations: 0 / 1.248 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.282, allocations: 218.1 kB / 1.248 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.2821, allocations: 113 kB / 1.248 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.2821, allocations: 4 kB / 1.248 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.2823, allocations: 19.92 kB / 1.248 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.2823, allocations: 11.98 kB / 1.248 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2823, allocations: 12 kB / 1.249 GB, free: 380 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.689e-05/0.2824, allocations: 116 kB / 1.249 GB, free: 264 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2824, allocations: 0 / 1.249 GB, free: 264 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003299/0.2828, allocations: 83.8 kB / 1.249 GB, free: 180 kB / 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.4202/0.703, allocations: 0.831 MB / 1.25 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.7033, allocations: 117.7 kB / 1.25 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7033, allocations: 3.203 kB / 1.25 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.982e-05/0.7034, allocations: 45.14 kB / 1.25 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.7038, allocations: 60.64 kB / 1.25 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.7054, allocations: 2.032 MB / 1.252 GB, free: 29.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.7055, allocations: 0.717 MB / 1.252 GB, free: 28.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000136/0.7056, allocations: 54.08 kB / 1.252 GB, free: 28.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.7057, allocations: 45.94 kB / 1.253 GB, free: 28.69 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.7057, allocations: 0 / 1.253 GB, free: 28.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.037/2.742, allocations: 5.49 MB / 1.258 GB, free: 28.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/12.77, allocations: 12.56 kB / 1.258 GB, free: 28.07 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches