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.004968/0.004968, allocations: 101.7 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 190.7 kB / 16.79 MB, free: 5.809 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.345/1.345, allocations: 222.9 MB / 240.5 MB, free: 4.441 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.372/2.372, allocations: 390.2 MB / 0.6649 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6214/0.6228, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004451/0.6273, allocations: 4.109 MB / 0.9536 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.6294, allocations: 2.462 MB / 0.956 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.6295, allocations: 1.562 kB / 0.956 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.6297, allocations: 34.66 kB / 0.956 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.63, allocations: 86.88 kB / 0.9561 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.631, allocations: 488.3 kB / 0.9566 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.6313, allocations: 338.5 kB / 0.9569 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.6314, allocations: 20.84 kB / 0.9569 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.6315, allocations: 105.7 kB / 0.957 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.6317, allocations: 97.47 kB / 0.9571 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.6317, allocations: 7.125 kB / 0.9571 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006954/0.6324, allocations: 463.8 kB / 0.9576 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.6325, allocations: 42.62 kB / 0.9576 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.144e-05/0.6326, allocations: 73.36 kB / 0.9577 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.6329, allocations: 282.8 kB / 0.9579 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6329, allocations: 0 / 0.9579 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.51e-07/0.633, allocations: 3.938 kB / 0.9579 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.633, allocations: 0 / 0.9579 GB, free: 2.633 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.0006276/0.6336, allocations: 0.5033 MB / 0.9584 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.6336, allocations: 18.3 kB / 0.9585 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.6356, allocations: 182.2 kB / 0.9586 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.6359, allocations: 209.8 kB / 0.9588 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.6359, allocations: 15.58 kB / 0.9588 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.6359, allocations: 18 kB / 0.9589 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.6365, allocations: 311.3 kB / 0.9592 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6365, allocations: 0 / 0.9592 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/0.6366, allocations: 7.594 kB / 0.9592 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.6366, allocations: 5.094 kB / 0.9592 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.6373, allocations: 262.5 kB / 0.9594 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.6387, allocations: 1.386 MB / 0.9608 GB, free: 52 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.6393, allocations: 197.6 kB / 0.961 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.6396, allocations: 76.62 kB / 0.961 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.6396, allocations: 6.25 kB / 0.961 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.6397, allocations: 37.19 kB / 0.9611 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.6397, allocations: 0 / 0.9611 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008182/0.6405, allocations: 241.4 kB / 0.9613 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.6406, allocations: 58.34 kB / 0.9614 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.6407, allocations: 166.3 kB / 0.9615 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.6408, allocations: 31.91 kB / 0.9616 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.6408, allocations: 130.8 kB / 0.9617 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.6409, allocations: 58.05 kB / 0.9617 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/0.641, allocations: 51.08 kB / 0.9618 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6411, allocations: 326.3 kB / 0.9621 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.6413, allocations: 67.92 kB / 0.9622 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.6416, allocations: 134.8 kB / 0.9623 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.6421, allocations: 224.7 kB / 0.9625 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6421, allocations: 1 kB / 0.9625 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006052/0.6427, allocations: 252.7 kB / 0.9627 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6428, allocations: 6 kB / 0.9627 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6428, allocations: 2.469 kB / 0.9627 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6428, allocations: 4.125 kB / 0.9628 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.6432, allocations: 62.11 kB / 0.9628 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.6432, allocations: 8.016 kB / 0.9628 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.6435, allocations: 36.53 kB / 0.9629 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.6435, allocations: 19.7 kB / 0.9629 GB, free: 14.44 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.0001197/0.6437, allocations: 129.6 kB / 0.963 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.6437, allocations: 16.09 kB / 0.963 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006641/0.6444, allocations: 232.5 kB / 0.9632 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6444, allocations: 3.062 kB / 0.9632 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6444, allocations: 4 kB / 0.9632 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.6444, allocations: 0 / 0.9632 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.6448, allocations: 253.1 kB / 0.9635 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6448, allocations: 0 / 0.9635 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.6451, allocations: 50.55 kB / 0.9635 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6451, allocations: 1.375 kB / 0.9635 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.6451, allocations: 5.062 kB / 0.9635 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6451, allocations: 1.031 kB / 0.9635 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6451, allocations: 0 / 0.9635 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.6457, allocations: 294.5 kB / 0.9638 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.6458, allocations: 105.6 kB / 0.9639 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.6459, allocations: 5.328 kB / 0.9639 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.6462, allocations: 22.02 kB / 0.9639 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.6462, allocations: 14.48 kB / 0.964 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.6463, allocations: 9.125 kB / 0.964 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.453e-05/0.6463, allocations: 121.5 kB / 0.9641 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6463, allocations: 0 / 0.9641 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003744/0.6467, allocations: 67.92 kB / 0.9641 GB, free: 13.41 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.0002052/0.6469, allocations: 134.8 kB / 0.9643 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005205/0.6475, allocations: 177.2 kB / 0.9644 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6475, allocations: 4 kB / 0.9644 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.6477, allocations: 88.02 kB / 0.9645 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.6483, allocations: 62.84 kB / 0.9646 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6493, allocations: 499.4 kB / 0.9651 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.6496, allocations: 0.711 MB / 0.9658 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.6497, allocations: 31.22 kB / 0.9658 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.6497, allocations: 0 / 0.9658 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of Templates: time 0.005062/0.6548, allocations: 2.908 MB / 0.9686 GB, free: 10.56 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