Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001276/0.001276, allocations: 108 kB / 15.61 MB, free: 152 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.001196/0.001196, allocations: 195.7 kB / 16.53 MB, free: 6.699 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.559/2.559, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 63.16 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2411, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005373/0.2465, allocations: 4.06 MB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.2492, allocations: 2.422 MB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.2493, allocations: 4 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.2495, allocations: 47.67 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.2498, allocations: 95.42 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.2509, allocations: 0.53 MB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.2512, allocations: 263.8 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.2513, allocations: 13.56 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.2515, allocations: 111.6 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.2516, allocations: 95.59 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.2517, allocations: 8 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.2525, allocations: 451.3 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.2525, allocations: 39.88 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.199e-05/0.2526, allocations: 83.66 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.2533, allocations: 411.2 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2533, allocations: 4 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2533, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2533, allocations: 0 / 1.072 GB, free: 5.57 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.0007024/0.254, allocations: 0.5093 MB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.254, allocations: 8.031 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.395e-05/0.2541, allocations: 54.73 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.2559, allocations: 176.5 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.2562, allocations: 208.2 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.2562, allocations: 12.7 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.2562, allocations: 20.31 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.2568, allocations: 316.1 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2569, allocations: 0 / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.2569, allocations: 12 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.2569, allocations: 4 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.2576, allocations: 259.6 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.2591, allocations: 1.385 MB / 1.075 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.2598, allocations: 198.3 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.26, allocations: 76.81 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.26, allocations: 7.984 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.2601, allocations: 38.55 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.2601, allocations: 7.938 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0007315/0.2608, allocations: 242.6 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.2609, allocations: 55.41 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.261, allocations: 154.4 kB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.2611, allocations: 33.7 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.2611, allocations: 128 kB / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.2612, allocations: 63.09 kB / 1.076 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.2613, allocations: 49.92 kB / 1.076 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2614, allocations: 326.8 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.2616, allocations: 68.41 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.2619, allocations: 143.4 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.2624, allocations: 216.2 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2624, allocations: 0 / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005756/0.263, allocations: 257.3 kB / 1.077 GB, free: 220 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.263, allocations: 8 kB / 1.077 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.263, allocations: 0 / 1.077 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.263, allocations: 4 kB / 1.077 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.2633, allocations: 63.89 kB / 1.077 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2634, allocations: 4 kB / 1.077 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.2636, allocations: 31.73 kB / 1.077 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.2636, allocations: 12 kB / 1.077 GB, free: 96 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001265/0.2637, allocations: 137.7 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.2638, allocations: 11.91 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000617/0.2644, allocations: 230.6 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2644, allocations: 0 / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2644, allocations: 4 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2645, allocations: 3.984 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.2647, allocations: 245.4 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2647, allocations: 4 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.265, allocations: 51.95 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2651, allocations: 3.938 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.2651, allocations: 8 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2651, allocations: 0 / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2651, allocations: 0 / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.2656, allocations: 305 kB / 1.078 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/0.2657, allocations: 104.9 kB / 1.078 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.2658, allocations: 4 kB / 1.078 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.266, allocations: 15.98 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.2661, allocations: 11.98 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.2661, allocations: 8 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.095e-05/0.2662, allocations: 118.1 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2662, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003171/0.2665, allocations: 71.94 kB / 1.079 GB, free: 14.68 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0008864/0.2674, allocations: 0.8664 MB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.2679, allocations: 195.8 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2679, allocations: 0 / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.2682, allocations: 87.89 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.2686, allocations: 63.94 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.2716, allocations: 2.145 MB / 1.082 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.2719, allocations: 0.7212 MB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003145/0.2722, allocations: 49.88 kB / 1.083 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.2723, allocations: 51.41 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.2723, allocations: 3.938 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.296/3.568, allocations: 5.133 MB / 1.088 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.22/26.79, allocations: 15.42 kB / 1.088 GB, free: 5.344 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches