Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_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.006547/0.006547, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001634/0.001634, allocations: 200.5 kB / 16.68 MB, free: 5.984 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.084/2.084, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 65.52 kB / 0.9505 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2112, allocations: 140.4 MB / 1.088 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004739/0.2159, allocations: 4.046 MB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.2183, allocations: 2.422 MB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.2184, allocations: 4 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.2186, allocations: 51.67 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.2188, allocations: 99.34 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.2199, allocations: 0.5178 MB / 1.095 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.2202, allocations: 255.9 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.2202, allocations: 13.56 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.2204, allocations: 119.5 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.2205, allocations: 95.61 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.2206, allocations: 11.94 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006863/0.2213, allocations: 455.3 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.2213, allocations: 39.89 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.2214, allocations: 83.64 kB / 1.096 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.222, allocations: 406.7 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.222, allocations: 0 / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/0.222, allocations: 4 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.222, allocations: 0 / 1.096 GB, free: 9.316 MB / 0.8575 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.0006873/0.2227, allocations: 0.507 MB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2227, allocations: 12.03 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.2228, allocations: 50.73 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.2246, allocations: 176.5 kB / 1.097 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.2248, allocations: 208.2 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.2249, allocations: 20.7 kB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.2249, allocations: 16.38 kB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.2255, allocations: 304.2 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2255, allocations: 3.938 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.2256, allocations: 8 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.2256, allocations: 8 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006617/0.2262, allocations: 260.1 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.2277, allocations: 1.396 MB / 1.099 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.2283, allocations: 198.2 kB / 1.099 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.2286, allocations: 76.81 kB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.2286, allocations: 0 / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.2286, allocations: 38.56 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.022e-06/0.2286, allocations: 0 / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0007505/0.2294, allocations: 250.9 kB / 1.099 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.2294, allocations: 51.41 kB / 1.099 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.2296, allocations: 161.2 kB / 1.1 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.2296, allocations: 29.7 kB / 1.1 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.2297, allocations: 132 kB / 1.1 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.2297, allocations: 63.09 kB / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.2298, allocations: 53.94 kB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2299, allocations: 330.8 kB / 1.1 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.2301, allocations: 60.42 kB / 1.1 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.2304, allocations: 138.3 kB / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.2308, allocations: 219.2 kB / 1.101 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2309, allocations: 4 kB / 1.101 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005559/0.2314, allocations: 253 kB / 1.101 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2314, allocations: 4 kB / 1.101 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2314, allocations: 4.312 kB / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2315, allocations: 11.94 kB / 1.101 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.2318, allocations: 59.89 kB / 1.101 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2318, allocations: 4 kB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.2321, allocations: 39.66 kB / 1.101 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.2321, allocations: 12 kB / 1.101 GB, free: 3.828 MB / 0.8575 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.0001307/0.2322, allocations: 133.7 kB / 1.101 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.2323, allocations: 19.84 kB / 1.101 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005956/0.2329, allocations: 222.7 kB / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2329, allocations: 4 kB / 1.101 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2329, allocations: 3.984 kB / 1.101 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2329, allocations: 0 / 1.101 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.2332, allocations: 245.4 kB / 1.102 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2332, allocations: 0 / 1.102 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.2335, allocations: 47.91 kB / 1.102 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2335, allocations: 4 kB / 1.102 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2335, allocations: 4 kB / 1.102 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2335, allocations: 4 kB / 1.102 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2336, allocations: 0 / 1.102 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.2341, allocations: 300.8 kB / 1.102 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.2342, allocations: 104.9 kB / 1.102 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.2342, allocations: 12 kB / 1.102 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.2345, allocations: 11.98 kB / 1.102 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.2345, allocations: 15.98 kB / 1.102 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.2346, allocations: 7.984 kB / 1.102 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.688e-05/0.2347, allocations: 117.1 kB / 1.102 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2347, allocations: 0 / 1.102 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003289/0.235, allocations: 68.06 kB / 1.102 GB, free: 2.43 MB / 0.8575 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.0008497/0.2358, allocations: 0.863 MB / 1.103 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005169/0.2364, allocations: 188.3 kB / 1.103 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2364, allocations: 0 / 1.103 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.2366, allocations: 87.89 kB / 1.103 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.2371, allocations: 64.38 kB / 1.103 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.24, allocations: 2.161 MB / 1.105 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2403, allocations: 0.7212 MB / 1.106 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002313/0.2405, allocations: 53.92 kB / 1.106 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.2406, allocations: 43.42 kB / 1.106 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.2407, allocations: 0 / 1.106 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09661/0.3373, allocations: 5.201 MB / 1.111 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.709, allocations: 10.56 kB / 1.111 GB, free: 9.043 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches