Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_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.005534/0.005534, allocations: 101 kB / 15.73 MB, free: 6.469 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.001173/0.001173, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.362/1.362, 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.0.1-master/package.mo): time 2.83/2.83, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 63.91 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3203, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006232/0.3266, allocations: 4.065 MB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003173/0.3298, allocations: 2.418 MB / 1.214 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.3301, allocations: 4 kB / 1.214 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.3304, allocations: 47.67 kB / 1.214 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.3309, allocations: 103.3 kB / 1.214 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.3327, allocations: 0.5217 MB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004414/0.3332, allocations: 255.9 kB / 1.215 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.675e-05/0.3333, allocations: 13.56 kB / 1.215 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.3336, allocations: 119.5 kB / 1.215 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.3338, allocations: 95.59 kB / 1.215 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.3338, allocations: 8 kB / 1.215 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3349, allocations: 451.3 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.668e-05/0.335, allocations: 39.89 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.3351, allocations: 83.64 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009308/0.3361, allocations: 415.2 kB / 1.216 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3361, allocations: 0 / 1.216 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3361, allocations: 0 / 1.216 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3361, allocations: 8 kB / 1.216 GB, free: 1.477 MB / 0.9669 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.0008996/0.337, allocations: 0.5031 MB / 1.216 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3371, allocations: 8.625 kB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.865e-05/0.3371, allocations: 54.73 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.3392, allocations: 180.5 kB / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.3396, allocations: 204.1 kB / 1.217 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.3396, allocations: 12.7 kB / 1.217 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.3397, allocations: 16.38 kB / 1.217 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.3404, allocations: 304.2 kB / 1.217 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3404, allocations: 3.938 kB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.3404, allocations: 8 kB / 1.217 GB, free: 68 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.3405, allocations: 15.98 kB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.3413, allocations: 252.1 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.3433, allocations: 1.392 MB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.3441, allocations: 198.5 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.3443, allocations: 80.81 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.3444, allocations: 3.984 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.3444, allocations: 34.56 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.866e-06/0.3445, allocations: 0 / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0009907/0.3455, allocations: 258.6 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.3455, allocations: 51.41 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3457, allocations: 154.9 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.3457, allocations: 29.7 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.3458, allocations: 132 kB / 1.22 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.3459, allocations: 59.11 kB / 1.22 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.3461, allocations: 53.92 kB / 1.22 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3463, allocations: 326.8 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.3465, allocations: 64.42 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.3468, allocations: 142.3 kB / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000613/0.3474, allocations: 214.4 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3475, allocations: 0 / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007842/0.3483, allocations: 254.9 kB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.3483, allocations: 4 kB / 1.221 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.3483, allocations: 8.312 kB / 1.221 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/0.3484, allocations: 8 kB / 1.221 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.3488, allocations: 67.89 kB / 1.221 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.3488, allocations: 7.984 kB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.3491, allocations: 23.75 kB / 1.221 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.3491, allocations: 15.98 kB / 1.221 GB, free: 12 MB / 0.9825 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.0001658/0.3493, allocations: 129.7 kB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.3494, allocations: 19.81 kB / 1.221 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007543/0.3501, allocations: 232 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3502, allocations: 0 / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.3502, allocations: 0 / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.3502, allocations: 3.938 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.3506, allocations: 249.5 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3506, allocations: 0 / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.3509, allocations: 43.97 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3509, allocations: 0 / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.351, allocations: 11.98 kB / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.351, allocations: 4 kB / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.351, allocations: 0 / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006498/0.3516, allocations: 299.9 kB / 1.222 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.3519, allocations: 100.9 kB / 1.222 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.3519, allocations: 8 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.3522, allocations: 19.97 kB / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.3522, allocations: 11.98 kB / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.3523, allocations: 8 kB / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000222/0.3525, allocations: 113.1 kB / 1.222 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3525, allocations: 0 / 1.222 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004195/0.353, allocations: 63.94 kB / 1.222 GB, free: 10.61 MB / 0.9825 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.001133/0.3541, allocations: 0.8725 MB / 1.223 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005987/0.3547, allocations: 182.2 kB / 1.223 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3547, allocations: 0.625 kB / 1.223 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.355, allocations: 83.89 kB / 1.223 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.3555, allocations: 73 kB / 1.223 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.3595, allocations: 2.169 MB / 1.225 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3599, allocations: 0.7211 MB / 1.226 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000302/0.3602, allocations: 53.92 kB / 1.226 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.3604, allocations: 47.41 kB / 1.226 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/0.3604, allocations: 0 / 1.226 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.3859, allocations: 5.272 MB / 1.231 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.367/8.753, allocations: 23.75 kB / 1.231 GB, free: 1.156 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches