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.001411/0.001411, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001606/0.001606, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.205/1.205, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.176/2.176, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.08 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.4993, allocations: 140.4 MB / 0.9492 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004579/0.5039, allocations: 4.094 MB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.506, allocations: 2.409 MB / 0.9556 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.5061, allocations: 1.281 kB / 0.9556 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.5063, allocations: 42.56 kB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.5066, allocations: 99.8 kB / 0.9557 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.5078, allocations: 494.8 kB / 0.9562 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.5081, allocations: 261.4 kB / 0.9564 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.5081, allocations: 16.61 kB / 0.9565 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.5083, allocations: 119.8 kB / 0.9566 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.5085, allocations: 98.03 kB / 0.9567 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.5085, allocations: 8.875 kB / 0.9567 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006856/0.5092, allocations: 463.8 kB / 0.9571 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.5092, allocations: 42.05 kB / 0.9572 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.5093, allocations: 81.98 kB / 0.9572 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.5098, allocations: 413.6 kB / 0.9576 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5098, allocations: 0 / 0.9576 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5098, allocations: 0 / 0.9576 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.5099, allocations: 5.344 kB / 0.9576 GB, free: 2.773 MB / 0.7169 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.0005727/0.5104, allocations: 0.5073 MB / 0.9581 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5105, allocations: 9.188 kB / 0.9581 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.5105, allocations: 48.83 kB / 0.9582 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.5124, allocations: 182.9 kB / 0.9584 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.5126, allocations: 209.8 kB / 0.9586 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.5126, allocations: 14.73 kB / 0.9586 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.5127, allocations: 18.28 kB / 0.9586 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.5132, allocations: 310.3 kB / 0.9589 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.5132, allocations: 2.188 kB / 0.9589 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.5133, allocations: 11.72 kB / 0.9589 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.5133, allocations: 7.625 kB / 0.9589 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006514/0.5139, allocations: 259.3 kB / 0.9592 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.5151, allocations: 1.378 MB / 0.9605 GB, free: 152 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.5157, allocations: 190 kB / 0.9607 GB, free: 52 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.5159, allocations: 79.47 kB / 0.9608 GB, free: 12 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.5159, allocations: 5.859 kB / 0.9608 GB, free: 8 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.516, allocations: 40.73 kB / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.516, allocations: 0 / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0007171/0.5167, allocations: 244.5 kB / 0.961 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.5168, allocations: 57.52 kB / 0.9611 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.5169, allocations: 162.6 kB / 0.9612 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.5169, allocations: 27.27 kB / 0.9613 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.517, allocations: 126.5 kB / 0.9614 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.517, allocations: 58.77 kB / 0.9615 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.5171, allocations: 55.55 kB / 0.9615 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.5172, allocations: 329.5 kB / 0.9618 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.5174, allocations: 64.08 kB / 0.9619 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.5177, allocations: 151.1 kB / 0.962 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.5181, allocations: 215.8 kB / 0.9622 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5182, allocations: 5.188 kB / 0.9622 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005429/0.5187, allocations: 241.9 kB / 0.9625 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5187, allocations: 5.906 kB / 0.9625 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5187, allocations: 11.36 kB / 0.9625 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5188, allocations: 3.344 kB / 0.9625 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.5191, allocations: 62.27 kB / 0.9625 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.5191, allocations: 7.938 kB / 0.9626 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.5194, allocations: 35.92 kB / 0.9626 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.5194, allocations: 12.66 kB / 0.9626 GB, free: 14.54 MB / 0.7325 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.0001075/0.5195, allocations: 133.5 kB / 0.9627 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.5196, allocations: 16.06 kB / 0.9627 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005942/0.5202, allocations: 232.2 kB / 0.963 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.5202, allocations: 2.438 kB / 0.963 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5202, allocations: 1.344 kB / 0.963 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5202, allocations: 3.984 kB / 0.963 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.5205, allocations: 252.4 kB / 0.9632 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5205, allocations: 0 / 0.9632 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.5208, allocations: 53.83 kB / 0.9633 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5208, allocations: 1.531 kB / 0.9633 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.5208, allocations: 5.438 kB / 0.9633 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5208, allocations: 1.125 kB / 0.9633 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5208, allocations: 1.094 kB / 0.9633 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.5213, allocations: 295.9 kB / 0.9636 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.5214, allocations: 108.6 kB / 0.9637 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.5215, allocations: 1.562 kB / 0.9637 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.5218, allocations: 23.55 kB / 0.9637 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.5218, allocations: 16.98 kB / 0.9637 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.5218, allocations: 10.14 kB / 0.9637 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.191e-05/0.5219, allocations: 117.8 kB / 0.9638 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5219, allocations: 0 / 0.9638 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003273/0.5223, allocations: 71.33 kB / 0.9639 GB, free: 13.5 MB / 0.7325 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.0008022/0.5231, allocations: 0.8525 MB / 0.9647 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.5236, allocations: 196.9 kB / 0.9649 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5236, allocations: 0 / 0.9649 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.5238, allocations: 82.41 kB / 0.965 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.5243, allocations: 70 kB / 0.9651 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.5271, allocations: 2.2 MB / 0.9672 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.5274, allocations: 0.7189 MB / 0.9679 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003387/0.5277, allocations: 48.56 kB / 0.9679 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5278, allocations: 51.25 kB / 0.968 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5278, allocations: 0 / 0.968 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.72/2.248, allocations: 5.052 MB / 0.9729 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/2.249, allocations: 236.4 kB / 0.9732 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/5.274, allocations: 1.031 kB / 0.9732 GB, free: 7.254 MB / 0.7325 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