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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001516/0.001516, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001691/0.001691, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.2 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 65.27 kB / 0.8127 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3023, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006462/0.3088, allocations: 4.106 MB / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3119, allocations: 2.418 MB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.312, allocations: 4 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.3124, allocations: 43.75 kB / 0.9562 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.3127, allocations: 91.47 kB / 0.9563 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.3142, allocations: 481.5 kB / 0.9567 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.3146, allocations: 263.9 kB / 0.957 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.3147, allocations: 13.55 kB / 0.957 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003049/0.315, allocations: 115.5 kB / 0.9571 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.3152, allocations: 95.66 kB / 0.9572 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.3152, allocations: 11.98 kB / 0.9572 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009181/0.3161, allocations: 463.1 kB / 0.9576 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.3162, allocations: 43.83 kB / 0.9577 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3164, allocations: 87.59 kB / 0.9578 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.3169, allocations: 283.6 kB / 0.958 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3169, allocations: 0 / 0.958 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3169, allocations: 0 / 0.958 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.3169, allocations: 0 / 0.958 GB, free: 0.7383 MB / 0.7325 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.0008493/0.3178, allocations: 0.507 MB / 0.9585 GB, free: 188 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3178, allocations: 12.03 kB / 0.9585 GB, free: 176 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.3199, allocations: 184.6 kB / 0.9587 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3202, allocations: 216.1 kB / 0.9589 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.3203, allocations: 8.703 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.3203, allocations: 16.38 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.321, allocations: 304.3 kB / 0.9592 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.321, allocations: 7.938 kB / 0.9593 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.321, allocations: 8 kB / 0.9593 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.3211, allocations: 8 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/0.3218, allocations: 263.6 kB / 0.9595 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.3236, allocations: 1.381 MB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.3243, allocations: 190.5 kB / 0.9611 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.3245, allocations: 80.81 kB / 0.9611 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.3246, allocations: 7.984 kB / 0.9611 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3246, allocations: 30.56 kB / 0.9612 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.3246, allocations: 0 / 0.9612 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0007824/0.3254, allocations: 253.2 kB / 0.9614 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3255, allocations: 51.41 kB / 0.9615 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3256, allocations: 155.9 kB / 0.9616 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.3257, allocations: 33.64 kB / 0.9616 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.3257, allocations: 136 kB / 0.9618 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.3258, allocations: 59.11 kB / 0.9618 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/0.3259, allocations: 53.83 kB / 0.9619 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3261, allocations: 322.8 kB / 0.9622 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.3263, allocations: 68.41 kB / 0.9622 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.3265, allocations: 144 kB / 0.9624 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.3271, allocations: 219.5 kB / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3271, allocations: 0 / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006019/0.3277, allocations: 252.1 kB / 0.9628 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3277, allocations: 8.031 kB / 0.9628 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3277, allocations: 4 kB / 0.9628 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3278, allocations: 4 kB / 0.9628 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.3281, allocations: 67.89 kB / 0.9629 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3281, allocations: 4 kB / 0.9629 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.3284, allocations: 31.73 kB / 0.9629 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.3284, allocations: 11.94 kB / 0.963 GB, free: 11.32 MB / 0.7481 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.000142/0.3286, allocations: 143.6 kB / 0.9631 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.3286, allocations: 15.81 kB / 0.9631 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006202/0.3293, allocations: 228.2 kB / 0.9633 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3293, allocations: 0 / 0.9633 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3293, allocations: 8 kB / 0.9633 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3293, allocations: 3.984 kB / 0.9633 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.3296, allocations: 241.4 kB / 0.9636 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.3296, allocations: 4 kB / 0.9636 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.3299, allocations: 51.89 kB / 0.9636 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.3299, allocations: 0 / 0.9636 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.33, allocations: 11.94 kB / 0.9636 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.33, allocations: 0 / 0.9636 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.33, allocations: 0 / 0.9636 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.3305, allocations: 309.2 kB / 0.9639 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.3307, allocations: 96.98 kB / 0.964 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.3307, allocations: 4 kB / 0.964 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.331, allocations: 23.89 kB / 0.964 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.331, allocations: 7.984 kB / 0.9641 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.3311, allocations: 15.98 kB / 0.9641 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.706e-05/0.3312, allocations: 118.4 kB / 0.9642 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3312, allocations: 4 kB / 0.9642 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003709/0.3315, allocations: 68.06 kB / 0.9643 GB, free: 9.906 MB / 0.7481 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.0002267/0.3318, allocations: 127.2 kB / 0.9644 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.3324, allocations: 187.7 kB / 0.9646 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3324, allocations: 4 kB / 0.9646 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.3326, allocations: 88.5 kB / 0.9646 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.3332, allocations: 68.95 kB / 0.9647 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3342, allocations: 494.9 kB / 0.9652 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3345, allocations: 0.7211 MB / 0.9659 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3347, allocations: 31.42 kB / 0.9659 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.3347, allocations: 0 / 0.9659 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of Templates: time 0.005808/0.3405, allocations: 2.909 MB / 0.9688 GB, free: 5.246 MB / 0.7481 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