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.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.001328/0.001328, allocations: 108.2 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.001563/0.001563, 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.443/1.443, 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 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7964, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006114/0.8025, allocations: 4.079 MB / 1.273 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003171/0.8057, allocations: 2.43 MB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.8058, allocations: 0 / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.8061, allocations: 47.67 kB / 1.275 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.8064, allocations: 103.3 kB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.8079, allocations: 0.5395 MB / 1.276 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.8083, allocations: 255.9 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.8083, allocations: 13.48 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.8086, allocations: 119.6 kB / 1.276 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.8087, allocations: 103.6 kB / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.8088, allocations: 8 kB / 1.276 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/0.8097, allocations: 459.3 kB / 1.277 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.401e-05/0.8098, allocations: 39.83 kB / 1.277 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.8099, allocations: 83.64 kB / 1.277 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000689/0.8106, allocations: 416.5 kB / 1.277 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8106, allocations: 0 / 1.277 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8106, allocations: 0 / 1.277 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.8106, allocations: 4 kB / 1.277 GB, free: 12.49 MB / 0.9825 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.0008493/0.8115, allocations: 0.5103 MB / 1.278 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.8115, allocations: 8.031 kB / 1.278 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.561e-05/0.8116, allocations: 54.73 kB / 1.278 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.8136, allocations: 176.6 kB / 1.278 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.814, allocations: 212.1 kB / 1.278 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.814, allocations: 12.7 kB / 1.278 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.8141, allocations: 16.38 kB / 1.278 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/0.8148, allocations: 312.1 kB / 1.279 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8148, allocations: 0 / 1.279 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.8148, allocations: 8 kB / 1.279 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.8148, allocations: 12 kB / 1.279 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007041/0.8155, allocations: 256.1 kB / 1.279 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.8174, allocations: 1.393 MB / 1.28 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.8181, allocations: 178.5 kB / 1.28 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.8183, allocations: 72.81 kB / 1.28 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.8183, allocations: 7.984 kB / 1.28 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.8184, allocations: 42.44 kB / 1.28 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.8184, allocations: 0 / 1.28 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008176/0.8192, allocations: 255.5 kB / 1.281 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.8192, allocations: 51.41 kB / 1.281 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.8194, allocations: 156.7 kB / 1.281 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.8194, allocations: 25.7 kB / 1.281 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.8195, allocations: 140.1 kB / 1.281 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.8196, allocations: 59.48 kB / 1.281 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.39e-05/0.8197, allocations: 53.88 kB / 1.281 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.8199, allocations: 330.8 kB / 1.281 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.8201, allocations: 64.42 kB / 1.282 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.8204, allocations: 143.2 kB / 1.282 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.8209, allocations: 213.3 kB / 1.282 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8209, allocations: 0 / 1.282 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006107/0.8215, allocations: 263.2 kB / 1.282 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.8215, allocations: 8 kB / 1.282 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8215, allocations: 0 / 1.282 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.8215, allocations: 8 kB / 1.282 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.8219, allocations: 68.2 kB / 1.282 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.8219, allocations: 7.984 kB / 1.282 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.8222, allocations: 27.88 kB / 1.282 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.8222, allocations: 15.98 kB / 1.282 GB, free: 7.004 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.0001809/0.8224, allocations: 134.2 kB / 1.282 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.8224, allocations: 15.91 kB / 1.282 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006465/0.8231, allocations: 234.6 kB / 1.283 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8231, allocations: 0 / 1.283 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8231, allocations: 0 / 1.283 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8231, allocations: 4 kB / 1.283 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.8234, allocations: 241.5 kB / 1.283 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.8234, allocations: 0 / 1.283 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.8237, allocations: 43.97 kB / 1.283 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8237, allocations: 0 / 1.283 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.8238, allocations: 11.98 kB / 1.283 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8238, allocations: 0 / 1.283 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8238, allocations: 4 kB / 1.283 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.8244, allocations: 305.1 kB / 1.283 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.8245, allocations: 104.9 kB / 1.283 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.8245, allocations: 4 kB / 1.283 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.8248, allocations: 15.98 kB / 1.283 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.8248, allocations: 15.98 kB / 1.283 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.8248, allocations: 7.984 kB / 1.283 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001069/0.825, allocations: 122.3 kB / 1.283 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.825, allocations: 3.938 kB / 1.283 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003742/0.8253, allocations: 63.94 kB / 1.283 GB, free: 5.605 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.00105/0.8264, allocations: 0.8669 MB / 1.284 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.8269, allocations: 175.7 kB / 1.285 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8269, allocations: 0 / 1.285 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.8272, allocations: 80.52 kB / 1.285 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.8276, allocations: 62.7 kB / 1.285 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.8312, allocations: 2.168 MB / 1.287 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.8316, allocations: 0.7178 MB / 1.287 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000276/0.8319, allocations: 53.92 kB / 1.288 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.832, allocations: 47.41 kB / 1.288 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of SimCode: time 1.132e-06/0.832, allocations: 0 / 1.288 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.8617, allocations: 5.237 MB / 1.293 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/9.361, allocations: 5.734 kB / 1.293 GB, free: 12.2 MB / 0.9981 GB " [Timeout remaining time 291] (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_2/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: 15.306075612083077]