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.0008085/0.0008085, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008246/0.0008246, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8454/0.8454, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.641/1.641, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 7.875 kB / 0.9518 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.299e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00384/0.003863, allocations: 3.899 MB / 0.9556 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.005526, allocations: 2.235 MB / 0.9578 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.005589, allocations: 0 / 0.9578 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.005735, allocations: 47.67 kB / 0.9578 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.005921, allocations: 107.2 kB / 0.9579 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008654/0.006786, allocations: 0.5565 MB / 0.9585 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.007013, allocations: 267.7 kB / 0.9587 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.007042, allocations: 9.812 kB / 0.9587 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.007207, allocations: 151.6 kB / 0.9589 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.007306, allocations: 87.75 kB / 0.9589 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.007322, allocations: 12 kB / 0.959 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004734/0.007796, allocations: 399 kB / 0.9593 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.007863, allocations: 39.89 kB / 0.9594 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.007917, allocations: 63.83 kB / 0.9594 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.008371, allocations: 438.8 kB / 0.9599 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.008373, allocations: 0 / 0.9599 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.22e-07/0.008374, allocations: 0 / 0.9599 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.008378, allocations: 3.938 kB / 0.9599 GB, free: 10.62 MB / 0.9167 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.0005117/0.008889, allocations: 461.2 kB / 0.9603 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.008919, allocations: 8.031 kB / 0.9603 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009829/0.009902, allocations: 184.6 kB / 0.9605 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.01012, allocations: 153.6 kB / 0.9606 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.01014, allocations: 20.69 kB / 0.9606 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.01016, allocations: 12.38 kB / 0.9607 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.01074, allocations: 0.4984 MB / 0.9611 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.01074, allocations: 192 / 0.9611 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.01077, allocations: 12.12 kB / 0.9612 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.01078, allocations: 7.938 kB / 0.9612 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.01117, allocations: 259.6 kB / 0.9614 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.01206, allocations: 1.169 MB / 0.9626 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.01245, allocations: 189 kB / 0.9627 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.01258, allocations: 68.81 kB / 0.9628 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.01259, allocations: 0 / 0.9628 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.01261, allocations: 46.5 kB / 0.9628 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 9.32e-07/0.01262, allocations: 0 / 0.9628 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0004618/0.01308, allocations: 243.6 kB / 0.9631 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.0131, allocations: 55.41 kB / 0.9631 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.01318, allocations: 139.8 kB / 0.9633 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.0132, allocations: 29.7 kB / 0.9633 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.01326, allocations: 140.1 kB / 0.9634 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.0133, allocations: 63.44 kB / 0.9635 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.01336, allocations: 53.92 kB / 0.9635 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.01343, allocations: 314.8 kB / 0.9638 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.01355, allocations: 68.41 kB / 0.9639 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.0137, allocations: 142.3 kB / 0.964 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.01397, allocations: 213.2 kB / 0.9642 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01397, allocations: 8 kB / 0.9643 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003409/0.01432, allocations: 255.3 kB / 0.9645 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01433, allocations: 8 kB / 0.9645 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01433, allocations: 4.312 kB / 0.9645 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.01434, allocations: 8 kB / 0.9645 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01452, allocations: 71.89 kB / 0.9646 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01453, allocations: 4 kB / 0.9646 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01463, allocations: 27.81 kB / 0.9646 GB, free: 5.406 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.01465, allocations: 15.98 kB / 0.9646 GB, free: 5.391 MB / 0.9167 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 7.792e-05/0.01473, allocations: 125.8 kB / 0.9647 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.01476, allocations: 19.84 kB / 0.9648 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.01512, allocations: 236.8 kB / 0.965 GB, free: 5.004 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01512, allocations: 0 / 0.965 GB, free: 5.004 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01513, allocations: 3.938 kB / 0.965 GB, free: 5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.01513, allocations: 0 / 0.965 GB, free: 5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.01529, allocations: 177.1 kB / 0.9652 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01529, allocations: 0 / 0.9652 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.01543, allocations: 51.95 kB / 0.9652 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01543, allocations: 3.938 kB / 0.9652 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.01544, allocations: 11.94 kB / 0.9652 GB, free: 4.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01545, allocations: 0 / 0.9652 GB, free: 4.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01545, allocations: 4 kB / 0.9652 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.01576, allocations: 283.4 kB / 0.9655 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.01581, allocations: 35.8 kB / 0.9655 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01583, allocations: 7.938 kB / 0.9655 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.01595, allocations: 15.98 kB / 0.9656 GB, free: 4.375 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.01597, allocations: 11.98 kB / 0.9656 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.01598, allocations: 11.98 kB / 0.9656 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.01603, allocations: 109.7 kB / 0.9657 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01603, allocations: 0 / 0.9657 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002386/0.01627, allocations: 63.94 kB / 0.9657 GB, free: 4.184 MB / 0.9167 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.0001698/0.01644, allocations: 143.1 kB / 0.9659 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.01675, allocations: 173.8 kB / 0.9661 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01675, allocations: 0 / 0.9661 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.01687, allocations: 84.52 kB / 0.9661 GB, free: 3.785 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.01713, allocations: 43.89 kB / 0.9662 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.01774, allocations: 403.6 kB / 0.9666 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.959e-05/0.01781, allocations: 110.5 kB / 0.9667 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.01789, allocations: 24.48 kB / 0.9667 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.01789, allocations: 0 / 0.9667 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of Templates: time 0.003394/0.02129, allocations: 2.846 MB / 0.9695 GB, free: 332 kB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] 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/jenkins/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: 6.432380283251405]