Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008275/0.0008274, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008542/0.0008544, allocations: 181.5 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 16 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.6361, allocations: 142.4 MB / 0.9557 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00373/0.6399, allocations: 3.737 MB / 0.9594 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.642, allocations: 2.422 MB / 0.9617 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.6422, allocations: 0 / 0.9617 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.6424, allocations: 42.66 kB / 0.9618 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.6427, allocations: 87.94 kB / 0.9618 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.6438, allocations: 488.6 kB / 0.9623 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.6441, allocations: 335.9 kB / 0.9626 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.6442, allocations: 16.36 kB / 0.9626 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.6444, allocations: 110 kB / 0.9627 GB, free: 2 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.6445, allocations: 97.7 kB / 0.9628 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.6445, allocations: 7 kB / 0.9628 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000794/0.6453, allocations: 459.5 kB / 0.9633 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.6454, allocations: 42.12 kB / 0.9633 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.6455, allocations: 107.5 kB / 0.9634 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.6459, allocations: 274.1 kB / 0.9637 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6459, allocations: 4 kB / 0.9637 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6459, allocations: 1.344 kB / 0.9637 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.6459, allocations: 0 / 0.9637 GB, free: 1.449 MB / 0.7169 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.0006266/0.6466, allocations: 488.4 kB / 0.9642 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.6466, allocations: 9.5 kB / 0.9642 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.6486, allocations: 178.7 kB / 0.9643 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.6488, allocations: 213.4 kB / 0.9645 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.6488, allocations: 15.73 kB / 0.9646 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.6489, allocations: 14.59 kB / 0.9646 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.6495, allocations: 310.9 kB / 0.9649 GB, free: 412 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.6495, allocations: 0 / 0.9649 GB, free: 412 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.6495, allocations: 8.438 kB / 0.9649 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.6496, allocations: 8.219 kB / 0.9649 GB, free: 404 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.6503, allocations: 258.6 kB / 0.9651 GB, free: 276 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.6519, allocations: 1.393 MB / 0.9665 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.6526, allocations: 191.3 kB / 0.9667 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.6528, allocations: 82.53 kB / 0.9668 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.6528, allocations: 7.547 kB / 0.9668 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.6529, allocations: 34.56 kB / 0.9668 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.6529, allocations: 3.938 kB / 0.9668 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0007915/0.6537, allocations: 249.3 kB / 0.967 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.6537, allocations: 53.38 kB / 0.9671 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.6539, allocations: 163.3 kB / 0.9672 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.6539, allocations: 31.11 kB / 0.9673 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.654, allocations: 127.3 kB / 0.9674 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.6541, allocations: 66.38 kB / 0.9675 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.6541, allocations: 25.09 kB / 0.9675 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6543, allocations: 325.5 kB / 0.9678 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.6545, allocations: 63.23 kB / 0.9679 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.6548, allocations: 143.1 kB / 0.968 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.6553, allocations: 219.6 kB / 0.9682 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6553, allocations: 1.031 kB / 0.9682 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006125/0.6559, allocations: 256.4 kB / 0.9684 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6559, allocations: 10.19 kB / 0.9685 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.656, allocations: 3.062 kB / 0.9685 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.656, allocations: 3.375 kB / 0.9685 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.6563, allocations: 66.92 kB / 0.9685 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.6564, allocations: 3 kB / 0.9685 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.6566, allocations: 32.83 kB / 0.9686 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.6567, allocations: 12.64 kB / 0.9686 GB, free: 13.29 MB / 0.7325 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.0001203/0.6568, allocations: 133.6 kB / 0.9687 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.6568, allocations: 15.97 kB / 0.9687 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006779/0.6575, allocations: 230.2 kB / 0.9689 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6575, allocations: 2.969 kB / 0.9689 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6575, allocations: 0 / 0.9689 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6576, allocations: 0.9375 kB / 0.9689 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.6579, allocations: 251.8 kB / 0.9692 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6579, allocations: 1 kB / 0.9692 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.6582, allocations: 45.47 kB / 0.9692 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6582, allocations: 1.562 kB / 0.9692 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.6582, allocations: 5.719 kB / 0.9692 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.6582, allocations: 5.016 kB / 0.9692 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6583, allocations: 3.938 kB / 0.9692 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.6588, allocations: 304.4 kB / 0.9695 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.659, allocations: 104.9 kB / 0.9696 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.659, allocations: 5 kB / 0.9696 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.6593, allocations: 20.14 kB / 0.9697 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.6593, allocations: 10.08 kB / 0.9697 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.6594, allocations: 14.14 kB / 0.9697 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.812e-05/0.6595, allocations: 117.1 kB / 0.9698 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6595, allocations: 4 kB / 0.9698 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003874/0.6599, allocations: 67.72 kB / 0.9699 GB, free: 12.25 MB / 0.7325 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.0002178/0.6601, allocations: 135.2 kB / 0.97 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005501/0.6607, allocations: 178.3 kB / 0.9702 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6607, allocations: 1.094 kB / 0.9702 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.6609, allocations: 86.64 kB / 0.9702 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.6615, allocations: 59.8 kB / 0.9703 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.6625, allocations: 0.5238 MB / 0.9708 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.6628, allocations: 0.719 MB / 0.9715 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.6629, allocations: 27.2 kB / 0.9715 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6629, allocations: 0 / 0.9715 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.005294/0.6682, allocations: 2.906 MB / 0.9744 GB, free: 9.371 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches