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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.93/2.93, allocations: 476.7 MB / 0.7678 GB, free: 9.402 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 59.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006899/1.098, allocations: 4.132 MB / 1.283 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003772/1.102, allocations: 2.447 MB / 1.285 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/1.102, allocations: 1.375 kB / 1.285 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003432/1.102, allocations: 50.88 kB / 1.285 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004004/1.103, allocations: 114.7 kB / 1.286 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/1.105, allocations: 0.5359 MB / 1.286 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004467/1.105, allocations: 257.6 kB / 1.286 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/1.105, allocations: 11.59 kB / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/1.106, allocations: 119.2 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/1.106, allocations: 102.3 kB / 1.287 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/1.106, allocations: 12.09 kB / 1.287 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/1.107, allocations: 471.5 kB / 1.287 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/1.107, allocations: 40.61 kB / 1.287 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/1.107, allocations: 86.38 kB / 1.287 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007726/1.108, allocations: 417.1 kB / 1.288 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/1.108, allocations: 4 kB / 1.288 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/1.108, allocations: 0.7188 kB / 1.288 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.062e-06/1.108, allocations: 0 / 1.288 GB, free: 6.113 MB / 0.9981 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.0008853/1.109, allocations: 0.5112 MB / 1.288 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.109, allocations: 13.31 kB / 1.288 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.286e-05/1.109, allocations: 5.484 kB / 1.288 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.371e-05/1.109, allocations: 47.64 kB / 1.288 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/1.111, allocations: 196.4 kB / 1.288 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/1.111, allocations: 211.1 kB / 1.288 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/1.111, allocations: 11.33 kB / 1.289 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/1.112, allocations: 25.91 kB / 1.289 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/1.112, allocations: 303.5 kB / 1.289 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/1.112, allocations: 4.969 kB / 1.289 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/1.112, allocations: 7.531 kB / 1.289 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/1.112, allocations: 4.438 kB / 1.289 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/1.113, allocations: 272 kB / 1.289 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/1.115, allocations: 1.384 MB / 1.29 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/1.116, allocations: 180 kB / 1.291 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/1.116, allocations: 73.45 kB / 1.291 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/1.116, allocations: 6.438 kB / 1.291 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.116, allocations: 33.55 kB / 1.291 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.834e-06/1.116, allocations: 0 / 1.291 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0008896/1.117, allocations: 250.7 kB / 1.291 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/1.117, allocations: 52.91 kB / 1.291 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/1.117, allocations: 163.1 kB / 1.291 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/1.117, allocations: 32.2 kB / 1.291 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.117, allocations: 128 kB / 1.291 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/1.118, allocations: 65.53 kB / 1.291 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/1.118, allocations: 49.42 kB / 1.291 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.118, allocations: 329.8 kB / 1.292 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/1.118, allocations: 69.56 kB / 1.292 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/1.118, allocations: 150.6 kB / 1.292 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/1.119, allocations: 211.1 kB / 1.292 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.119, allocations: 1.406 kB / 1.292 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007489/1.12, allocations: 255.6 kB / 1.292 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.12, allocations: 10.19 kB / 1.292 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.12, allocations: 3.312 kB / 1.292 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/1.12, allocations: 4.188 kB / 1.292 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/1.12, allocations: 69.47 kB / 1.292 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.12, allocations: 4.641 kB / 1.292 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/1.12, allocations: 35.06 kB / 1.293 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/1.12, allocations: 10.64 kB / 1.293 GB, free: 2.379 MB / 0.9981 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.0002009/1.121, allocations: 131 kB / 1.293 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/1.121, allocations: 17.31 kB / 1.293 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/1.121, allocations: 236.4 kB / 1.293 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/1.121, allocations: 2.625 kB / 1.293 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.121, allocations: 0 / 1.293 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.122, allocations: 2.781 kB / 1.293 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/1.122, allocations: 242.9 kB / 1.293 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.122, allocations: 0.5625 kB / 1.293 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/1.122, allocations: 43.2 kB / 1.293 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.122, allocations: 1.062 kB / 1.293 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/1.122, allocations: 8.109 kB / 1.293 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.122, allocations: 0.6094 kB / 1.293 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.122, allocations: 9.188 kB / 1.293 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/1.123, allocations: 298.2 kB / 1.293 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/1.123, allocations: 100.9 kB / 1.294 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/1.123, allocations: 5.5 kB / 1.294 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/1.123, allocations: 21.44 kB / 1.294 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/1.123, allocations: 9.766 kB / 1.294 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/1.123, allocations: 15.36 kB / 1.294 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001137/1.124, allocations: 112.3 kB / 1.294 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.124, allocations: 3.938 kB / 1.294 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004394/1.124, allocations: 69.11 kB / 1.294 GB, free: 1.477 MB / 0.9981 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.001137/1.125, allocations: 0.8682 MB / 1.295 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006134/1.126, allocations: 167.3 kB / 1.295 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.126, allocations: 1.219 kB / 1.295 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/1.126, allocations: 84.94 kB / 1.295 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/1.127, allocations: 59.73 kB / 1.295 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/1.131, allocations: 2.182 MB / 1.297 GB, free: 15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/1.131, allocations: 0.7186 MB / 1.298 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003472/1.132, allocations: 51.23 kB / 1.298 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/1.132, allocations: 47.08 kB / 1.298 GB, free: 14.25 MB / 1.014 GB Notification: Performance of SimCode: time 1.252e-06/1.132, allocations: 0 / 1.298 GB, free: 14.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/1.156, allocations: 5.272 MB / 1.303 GB, free: 13.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.894/10.05, allocations: 11.09 kB / 1.303 GB, free: 13.61 MB / 1.014 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.56269951001741]