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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 110.9 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.177/3.177, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 65.12 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3275, allocations: 173.9 MB / 1.304 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005992/0.3334, allocations: 4.075 MB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003147/0.3366, allocations: 2.434 MB / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.3367, allocations: 0 / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.337, allocations: 43.69 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.3374, allocations: 107.3 kB / 1.311 GB, free: 10.79 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.3388, allocations: 0.5335 MB / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.3392, allocations: 255.9 kB / 1.311 GB, free: 10.01 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.3393, allocations: 9.547 kB / 1.311 GB, free: 9.996 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.3395, allocations: 115.5 kB / 1.311 GB, free: 9.883 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.3396, allocations: 103.6 kB / 1.312 GB, free: 9.781 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3397, allocations: 8 kB / 1.312 GB, free: 9.773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009017/0.3406, allocations: 467.2 kB / 1.312 GB, free: 9.316 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.3407, allocations: 39.84 kB / 1.312 GB, free: 9.277 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.3408, allocations: 83.64 kB / 1.312 GB, free: 9.195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.3414, allocations: 415 kB / 1.312 GB, free: 8.789 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3415, allocations: 0 / 1.312 GB, free: 8.789 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3415, allocations: 0 / 1.312 GB, free: 8.789 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.3415, allocations: 0 / 1.312 GB, free: 8.789 MB / 1.014 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.0008684/0.3423, allocations: 0.5142 MB / 1.313 GB, free: 8.223 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3424, allocations: 12.86 kB / 1.313 GB, free: 8.211 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.035e-05/0.3424, allocations: 46.73 kB / 1.313 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.3444, allocations: 184.6 kB / 1.313 GB, free: 7.977 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.3448, allocations: 204.2 kB / 1.313 GB, free: 7.738 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.3448, allocations: 12.7 kB / 1.313 GB, free: 7.727 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.3449, allocations: 20.38 kB / 1.313 GB, free: 7.707 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.3455, allocations: 300.2 kB / 1.314 GB, free: 7.379 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3455, allocations: 3.938 kB / 1.314 GB, free: 7.375 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.3456, allocations: 8 kB / 1.314 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.3456, allocations: 4 kB / 1.314 GB, free: 7.363 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007058/0.3463, allocations: 268.1 kB / 1.314 GB, free: 7.102 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3481, allocations: 1.389 MB / 1.315 GB, free: 5.598 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/0.3487, allocations: 186.4 kB / 1.316 GB, free: 5.406 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.349, allocations: 76.81 kB / 1.316 GB, free: 5.328 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.349, allocations: 7.984 kB / 1.316 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.349, allocations: 30.56 kB / 1.316 GB, free: 5.281 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.349, allocations: 0 / 1.316 GB, free: 5.281 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.0007724/0.3498, allocations: 259.3 kB / 1.316 GB, free: 5.023 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3498, allocations: 51.41 kB / 1.316 GB, free: 4.961 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.35, allocations: 164.4 kB / 1.316 GB, free: 4.793 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.35, allocations: 29.7 kB / 1.316 GB, free: 4.758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.3501, allocations: 128.2 kB / 1.316 GB, free: 4.629 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/0.3502, allocations: 63.44 kB / 1.316 GB, free: 4.566 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3503, allocations: 53.86 kB / 1.316 GB, free: 4.504 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3504, allocations: 326.8 kB / 1.317 GB, free: 4.176 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.3506, allocations: 68.42 kB / 1.317 GB, free: 4.109 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.3509, allocations: 139 kB / 1.317 GB, free: 3.941 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.3514, allocations: 219.1 kB / 1.317 GB, free: 3.695 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3514, allocations: 0 / 1.317 GB, free: 3.695 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000589/0.352, allocations: 257.1 kB / 1.317 GB, free: 3.438 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.352, allocations: 10.19 kB / 1.317 GB, free: 3.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.352, allocations: 0 / 1.317 GB, free: 3.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.352, allocations: 4 kB / 1.317 GB, free: 3.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.3524, allocations: 68.2 kB / 1.317 GB, free: 3.359 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3524, allocations: 11.98 kB / 1.317 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.3526, allocations: 31.78 kB / 1.317 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3527, allocations: 11.98 kB / 1.317 GB, free: 3.305 MB / 1.014 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.0001408/0.3528, allocations: 129.7 kB / 1.318 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.3529, allocations: 15.91 kB / 1.318 GB, free: 3.152 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006204/0.3535, allocations: 226.7 kB / 1.318 GB, free: 2.922 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3535, allocations: 0 / 1.318 GB, free: 2.922 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3535, allocations: 4 kB / 1.318 GB, free: 2.918 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3535, allocations: 0 / 1.318 GB, free: 2.918 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.3538, allocations: 249.4 kB / 1.318 GB, free: 2.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3538, allocations: 4 kB / 1.318 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.3541, allocations: 47.91 kB / 1.318 GB, free: 2.574 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3541, allocations: 0 / 1.318 GB, free: 2.574 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3541, allocations: 11.98 kB / 1.318 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3541, allocations: 0 / 1.318 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3541, allocations: 0 / 1.318 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.3547, allocations: 304.6 kB / 1.318 GB, free: 2.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.3548, allocations: 104.9 kB / 1.318 GB, free: 2.129 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.3549, allocations: 4 kB / 1.318 GB, free: 2.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.3552, allocations: 19.97 kB / 1.319 GB, free: 2.105 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.3552, allocations: 15.98 kB / 1.319 GB, free: 2.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.3552, allocations: 8 kB / 1.319 GB, free: 2.082 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000102/0.3553, allocations: 115.2 kB / 1.319 GB, free: 1.969 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3553, allocations: 0 / 1.319 GB, free: 1.969 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003734/0.3557, allocations: 59.95 kB / 1.319 GB, free: 1.91 MB / 1.014 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.001034/0.3567, allocations: 0.8658 MB / 1.32 GB, free: 1.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.3573, allocations: 173.1 kB / 1.32 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3573, allocations: 4 kB / 1.32 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.3575, allocations: 76.52 kB / 1.32 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.358, allocations: 66.58 kB / 1.32 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.3613, allocations: 2.169 MB / 1.322 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.3616, allocations: 0.7212 MB / 1.323 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000287/0.3619, allocations: 53.92 kB / 1.323 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.362, allocations: 47.41 kB / 1.323 GB, free: 13.55 MB / 1.029 GB Notification: Performance of SimCode: time 1.182e-06/0.362, allocations: 0 / 1.323 GB, free: 13.55 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.3915, allocations: 5.231 MB / 1.328 GB, free: 8.535 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.761, allocations: 16.23 kB / 1.328 GB, free: 8.527 MB / 1.029 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.361301138997078]