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.001223/0.001223, allocations: 116.1 kB / 17.17 MB, free: 6 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.001362/0.001362, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.439/1.439, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.812/2.812, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_12_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.002249/0.002249, allocations: 63.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9238/0.926, allocations: 176.1 MB / 1.322 GB, free: 24.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00416/0.9302, allocations: 4.148 MB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.9321, allocations: 2.447 MB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.9322, allocations: 0 / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.9324, allocations: 49.56 kB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.9327, allocations: 106.3 kB / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.9339, allocations: 0.54 MB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.9342, allocations: 260.8 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.9342, allocations: 7.656 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.9344, allocations: 115.1 kB / 1.329 GB, free: 19.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.9346, allocations: 101.5 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.9346, allocations: 7.938 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008698/0.9355, allocations: 473.6 kB / 1.33 GB, free: 19.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.9356, allocations: 45.36 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.98e-05/0.9357, allocations: 84.27 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.9363, allocations: 420.3 kB / 1.33 GB, free: 19.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9363, allocations: 1.094 kB / 1.33 GB, free: 19.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9363, allocations: 0 / 1.33 GB, free: 19.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.9363, allocations: 0 / 1.33 GB, free: 19.15 MB / 1.061 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.0007251/0.9371, allocations: 0.5133 MB / 1.331 GB, free: 18.69 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.9371, allocations: 14.39 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.495e-05/0.9371, allocations: 9.609 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.9372, allocations: 55.75 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/0.9393, allocations: 189.9 kB / 1.331 GB, free: 18.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.9396, allocations: 212.2 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.9396, allocations: 15.56 kB / 1.331 GB, free: 18.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.9397, allocations: 18.88 kB / 1.331 GB, free: 18.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006363/0.9403, allocations: 303 kB / 1.331 GB, free: 18.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9403, allocations: 1 kB / 1.331 GB, free: 18.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.9404, allocations: 11.62 kB / 1.331 GB, free: 18.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.9404, allocations: 5.297 kB / 1.331 GB, free: 18.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007254/0.9411, allocations: 258.6 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.9425, allocations: 1.389 MB / 1.333 GB, free: 16.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.9431, allocations: 182.8 kB / 1.333 GB, free: 16.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.9434, allocations: 76.23 kB / 1.333 GB, free: 16.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.9434, allocations: 2.5 kB / 1.333 GB, free: 16.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.9434, allocations: 36.72 kB / 1.333 GB, free: 16.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.9434, allocations: 0 / 1.333 GB, free: 16.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0007918/0.9442, allocations: 248.6 kB / 1.334 GB, free: 16.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.9442, allocations: 53.5 kB / 1.334 GB, free: 16.53 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.9443, allocations: 163.5 kB / 1.334 GB, free: 16.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.9444, allocations: 30.89 kB / 1.334 GB, free: 16.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.9444, allocations: 127.6 kB / 1.334 GB, free: 16.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.9444, allocations: 72.92 kB / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.9445, allocations: 50.17 kB / 1.334 GB, free: 16.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.9446, allocations: 326.1 kB / 1.334 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.9448, allocations: 69.12 kB / 1.334 GB, free: 15.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.945, allocations: 144.8 kB / 1.334 GB, free: 15.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.9455, allocations: 210.9 kB / 1.335 GB, free: 15.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.9455, allocations: 1.125 kB / 1.335 GB, free: 15.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006007/0.9461, allocations: 258.2 kB / 1.335 GB, free: 15.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.9461, allocations: 6.453 kB / 1.335 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.9461, allocations: 1.875 kB / 1.335 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.9462, allocations: 3.844 kB / 1.335 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.9465, allocations: 66.58 kB / 1.335 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.9465, allocations: 5.453 kB / 1.335 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.9468, allocations: 33.95 kB / 1.335 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.9468, allocations: 14.39 kB / 1.335 GB, free: 15.43 MB / 1.061 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 9.678e-05/0.9469, allocations: 133.2 kB / 1.335 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.9469, allocations: 15.72 kB / 1.335 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.9476, allocations: 233.4 kB / 1.335 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.9476, allocations: 2.406 kB / 1.335 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9476, allocations: 5.703 kB / 1.335 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.9476, allocations: 0.5625 kB / 1.335 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.9478, allocations: 252.5 kB / 1.336 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.9478, allocations: 4 kB / 1.336 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.9482, allocations: 47.52 kB / 1.336 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.9482, allocations: 1.438 kB / 1.336 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.9482, allocations: 6.375 kB / 1.336 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.9482, allocations: 5.641 kB / 1.336 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9482, allocations: 0.5938 kB / 1.336 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.9487, allocations: 301.3 kB / 1.336 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.9488, allocations: 106.1 kB / 1.336 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.9488, allocations: 6.141 kB / 1.336 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.9491, allocations: 13.67 kB / 1.336 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.9492, allocations: 17.5 kB / 1.336 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.9492, allocations: 8.078 kB / 1.336 GB, free: 14.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.055e-05/0.9493, allocations: 119.3 kB / 1.336 GB, free: 14.53 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9493, allocations: 0 / 1.336 GB, free: 14.53 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000391/0.9497, allocations: 63.34 kB / 1.336 GB, free: 14.52 MB / 1.061 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.0008427/0.9505, allocations: 0.86 MB / 1.337 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006426/0.9511, allocations: 173.5 kB / 1.337 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9512, allocations: 0.5 kB / 1.337 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.9514, allocations: 85.44 kB / 1.337 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.9519, allocations: 65.22 kB / 1.338 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.955, allocations: 2.161 MB / 1.34 GB, free: 12.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.9552, allocations: 0.718 MB / 1.34 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000269/0.9554, allocations: 55.73 kB / 1.34 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.9556, allocations: 45.8 kB / 1.34 GB, free: 11.3 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.9556, allocations: 1.062 kB / 1.34 GB, free: 11.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.9813, allocations: 5.261 MB / 1.346 GB, free: 10.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/9.188, allocations: 14.22 kB / 1.346 GB, free: 10.66 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.348852033959702]