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.0013/0.0013, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001489/0.001489, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.027 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.833/2.833, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] 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="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: 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.002019/0.002019, allocations: 65.5 kB / 1.117 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3106, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.008102/0.3187, allocations: 4.169 MB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003524/0.3222, allocations: 2.453 MB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3223, allocations: 4 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.3226, allocations: 55.61 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.323, allocations: 103.3 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.3247, allocations: 0.5455 MB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.3251, allocations: 267.9 kB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3253, allocations: 9.75 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.3255, allocations: 115.5 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.3257, allocations: 99.58 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.3257, allocations: 8 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.3268, allocations: 479.2 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.3269, allocations: 43.81 kB / 1.292 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.327, allocations: 79.66 kB / 1.292 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008098/0.3278, allocations: 423.4 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3278, allocations: 0 / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3278, allocations: 4 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3278, allocations: 0 / 1.292 GB, free: 2.871 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.0009232/0.3287, allocations: 451.1 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3288, allocations: 11.97 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.037e-05/0.3288, allocations: 54.73 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.331, allocations: 188.6 kB / 1.293 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.3314, allocations: 154.3 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3314, allocations: 8.703 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.3314, allocations: 16.38 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007002/0.3321, allocations: 308.2 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3321, allocations: 7.938 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.3322, allocations: 15.98 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.3322, allocations: 7.984 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/0.3329, allocations: 255.6 kB / 1.293 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.335, allocations: 1.357 MB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.3356, allocations: 182.5 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.3359, allocations: 68.81 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3359, allocations: 3.984 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3359, allocations: 42.55 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.3359, allocations: 4 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0008284/0.3368, allocations: 243.5 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.3368, allocations: 59.39 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.337, allocations: 157.2 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.337, allocations: 33.7 kB / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.3371, allocations: 128.2 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.3372, allocations: 63.44 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3373, allocations: 57.86 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3374, allocations: 326.8 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.3377, allocations: 64.36 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.338, allocations: 151 kB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.3385, allocations: 217.3 kB / 1.297 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3385, allocations: 4 kB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006356/0.3392, allocations: 248.6 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3392, allocations: 12 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3392, allocations: 7.984 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.3392, allocations: 4 kB / 1.297 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.3396, allocations: 63.89 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3396, allocations: 4 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.3399, allocations: 23.84 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.3399, allocations: 15.98 kB / 1.297 GB, free: 13.58 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.000143/0.34, allocations: 141.6 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.3401, allocations: 15.91 kB / 1.297 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006566/0.3408, allocations: 226.6 kB / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3408, allocations: 4 kB / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3408, allocations: 3.938 kB / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3408, allocations: 0 / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.3411, allocations: 216.5 kB / 1.297 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3411, allocations: 0 / 1.297 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.3414, allocations: 43.97 kB / 1.297 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3414, allocations: 7.984 kB / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.3414, allocations: 4 kB / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3415, allocations: 0 / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3415, allocations: 4 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.3421, allocations: 305.2 kB / 1.298 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.3422, allocations: 31.86 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.3422, allocations: 4 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.3425, allocations: 19.97 kB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.3425, allocations: 11.94 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.3425, allocations: 15.98 kB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001512/0.3427, allocations: 111.2 kB / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3427, allocations: 0 / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003718/0.3431, allocations: 63.94 kB / 1.298 GB, free: 12.3 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.001096/0.3442, allocations: 0.8672 MB / 1.299 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005591/0.3447, allocations: 172.4 kB / 1.299 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3447, allocations: 4 kB / 1.299 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.345, allocations: 79.89 kB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.3455, allocations: 59.88 kB / 1.299 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.3489, allocations: 2.175 MB / 1.301 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3493, allocations: 0.7138 MB / 1.302 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002653/0.3496, allocations: 49.94 kB / 1.302 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.3497, allocations: 47.41 kB / 1.302 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.3497, allocations: 0 / 1.302 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.3836, allocations: 5.462 MB / 1.307 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.96, allocations: 4.062 kB / 1.307 GB, free: 2.664 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.49438767018728]