Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001282/0.001282, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00142/0.00142, allocations: 217.6 kB / 22.25 MB, free: 5.25 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.265/3.265, allocations: 0.49 GB / 0.7951 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_12_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.00201/0.00201, allocations: 61.94 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4033, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006338/0.4096, allocations: 3.896 MB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.4128, allocations: 2.239 MB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.4129, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.4132, allocations: 43.69 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.4135, allocations: 95.42 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.4152, allocations: 0.5548 MB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.4156, allocations: 259.8 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.4157, allocations: 13.75 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.4159, allocations: 119.5 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.4161, allocations: 91.66 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.4161, allocations: 8 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008671/0.417, allocations: 411.3 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.707e-05/0.4171, allocations: 43.88 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.199e-05/0.4172, allocations: 71.73 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006961/0.4179, allocations: 407 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4179, allocations: 0 / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4179, allocations: 0 / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4179, allocations: 0 / 1.334 GB, free: 9.199 MB / 1.029 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.0009275/0.4188, allocations: 453.3 kB / 1.334 GB, free: 8.723 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4188, allocations: 12.03 kB / 1.334 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/0.4189, allocations: 50.73 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/0.4212, allocations: 188.6 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.4216, allocations: 158.3 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.4216, allocations: 12.7 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.4216, allocations: 16.38 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008631/0.4225, allocations: 0.5017 MB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4225, allocations: 0 / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.4225, allocations: 12 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.4226, allocations: 7.938 kB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.4233, allocations: 255.6 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.4254, allocations: 1.219 MB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/0.4261, allocations: 186.4 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.4263, allocations: 68.81 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.4263, allocations: 4 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.4264, allocations: 38.56 kB / 1.337 GB, free: 5.797 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 3.356e-06/0.4264, allocations: 7.984 kB / 1.337 GB, free: 5.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008097/0.4272, allocations: 238.9 kB / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.4272, allocations: 55.41 kB / 1.337 GB, free: 5.484 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.4274, allocations: 165.2 kB / 1.337 GB, free: 5.316 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.4274, allocations: 29.7 kB / 1.337 GB, free: 5.281 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.642e-05/0.4275, allocations: 136.2 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.4276, allocations: 67.48 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.4277, allocations: 49.88 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.4279, allocations: 330.8 kB / 1.338 GB, free: 4.688 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.4281, allocations: 60.42 kB / 1.338 GB, free: 4.629 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.4284, allocations: 139.7 kB / 1.338 GB, free: 4.461 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.429, allocations: 218.6 kB / 1.338 GB, free: 4.215 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.429, allocations: 0 / 1.338 GB, free: 4.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006727/0.4297, allocations: 253.2 kB / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4297, allocations: 5.406 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4297, allocations: 4.312 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4298, allocations: 8 kB / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.4302, allocations: 71.88 kB / 1.339 GB, free: 3.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4302, allocations: 7.938 kB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.4304, allocations: 23.83 kB / 1.339 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.4305, allocations: 15.98 kB / 1.339 GB, free: 3.828 MB / 1.029 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.0001501/0.4306, allocations: 137.7 kB / 1.339 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.4307, allocations: 15.91 kB / 1.339 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006632/0.4313, allocations: 223.6 kB / 1.339 GB, free: 3.441 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4314, allocations: 4 kB / 1.339 GB, free: 3.438 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4314, allocations: 0 / 1.339 GB, free: 3.438 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4314, allocations: 7.938 kB / 1.339 GB, free: 3.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.4317, allocations: 200.5 kB / 1.339 GB, free: 3.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4317, allocations: 4 kB / 1.339 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.432, allocations: 55.89 kB / 1.339 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.432, allocations: 0 / 1.339 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.4321, allocations: 7.938 kB / 1.339 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4321, allocations: 0 / 1.339 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4321, allocations: 4 kB / 1.339 GB, free: 3.121 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.4328, allocations: 301.1 kB / 1.34 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.4329, allocations: 31.81 kB / 1.34 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.4329, allocations: 8 kB / 1.34 GB, free: 2.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.4332, allocations: 15.98 kB / 1.34 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.4332, allocations: 11.92 kB / 1.34 GB, free: 2.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.4333, allocations: 19.98 kB / 1.34 GB, free: 2.727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.837e-05/0.4334, allocations: 113.1 kB / 1.34 GB, free: 2.617 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4334, allocations: 0 / 1.34 GB, free: 2.617 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004342/0.4338, allocations: 63.94 kB / 1.34 GB, free: 2.555 MB / 1.029 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.001123/0.4349, allocations: 0.8645 MB / 1.341 GB, free: 1.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006125/0.4355, allocations: 173.9 kB / 1.341 GB, free: 1.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4355, allocations: 4 kB / 1.341 GB, free: 1.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.4358, allocations: 79.89 kB / 1.341 GB, free: 1.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.4363, allocations: 51.94 kB / 1.341 GB, free: 1.363 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.4399, allocations: 2.184 MB / 1.343 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.44, allocations: 103 kB / 1.343 GB, free: 14.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004129/0.4404, allocations: 57.86 kB / 1.343 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.4405, allocations: 47.36 kB / 1.343 GB, free: 14.82 MB / 1.045 GB Notification: Performance of SimCode: time 7.91e-07/0.4405, allocations: 0 / 1.343 GB, free: 14.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.4762, allocations: 6.132 MB / 1.349 GB, free: 8.906 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.79, allocations: 6.75 kB / 1.349 GB, free: 8.902 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.556960971996887]