Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 108 kB / 15.61 MB, free: 152 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.001146/0.001146, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 59.38 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2941, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00765/0.3018, allocations: 4.045 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003673/0.3055, allocations: 2.43 MB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.3056, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.3059, allocations: 47.67 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.3063, allocations: 107.3 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.3079, allocations: 0.5184 MB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000363/0.3082, allocations: 263.9 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.3083, allocations: 9.562 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.3085, allocations: 119.5 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.3087, allocations: 95.59 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.3088, allocations: 8 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.3098, allocations: 455.3 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.3099, allocations: 31.89 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.31, allocations: 87.64 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007899/0.3108, allocations: 407.2 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3109, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.536e-06/0.3109, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3109, allocations: 4 kB / 1.072 GB, free: 5.918 MB / 0.8262 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.0008892/0.3118, allocations: 0.507 MB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3118, allocations: 8.031 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.866e-05/0.3119, allocations: 54.73 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.3149, allocations: 184.5 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3152, allocations: 200.2 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.3152, allocations: 12.7 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.3153, allocations: 16.38 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008705/0.3162, allocations: 304.2 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3162, allocations: 7.938 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/0.3163, allocations: 4 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.3163, allocations: 12 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.3173, allocations: 260 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.3193, allocations: 1.396 MB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009251/0.3203, allocations: 194.7 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.3206, allocations: 80.81 kB / 1.075 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.3207, allocations: 7.984 kB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.3207, allocations: 30.56 kB / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.924e-06/0.3207, allocations: 0 / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001112/0.3218, allocations: 252.6 kB / 1.075 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3219, allocations: 51.41 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.3221, allocations: 164.6 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.3221, allocations: 29.7 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.3222, allocations: 132 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.3223, allocations: 59.11 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.3224, allocations: 53.92 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3225, allocations: 326.8 kB / 1.076 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.3229, allocations: 64.42 kB / 1.076 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.3233, allocations: 142.3 kB / 1.076 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.324, allocations: 209.2 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.324, allocations: 4 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008794/0.3249, allocations: 251 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3249, allocations: 4.312 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3249, allocations: 15.92 kB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3249, allocations: 4 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.3255, allocations: 63.95 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3255, allocations: 7.938 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.3258, allocations: 31.73 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.3259, allocations: 11.98 kB / 1.077 GB, free: 448 kB / 0.8262 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.0001451/0.326, allocations: 134.2 kB / 1.077 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.3261, allocations: 15.91 kB / 1.077 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009045/0.327, allocations: 228.6 kB / 1.077 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.327, allocations: 0 / 1.077 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3271, allocations: 0 / 1.077 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3271, allocations: 0 / 1.077 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.3275, allocations: 249.3 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3275, allocations: 4 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.3279, allocations: 47.91 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.328, allocations: 4 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.328, allocations: 11.98 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.328, allocations: 0 / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.328, allocations: 0 / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/0.3288, allocations: 299.2 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.329, allocations: 108.8 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.329, allocations: 7.938 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.3294, allocations: 15.98 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3295, allocations: 11.98 kB / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.3295, allocations: 11.98 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3296, allocations: 117.9 kB / 1.078 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3297, allocations: 0 / 1.078 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005676/0.3302, allocations: 64.06 kB / 1.078 GB, free: 15.04 MB / 0.8419 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.001206/0.3315, allocations: 0.87 MB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007854/0.3323, allocations: 180.3 kB / 1.079 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3323, allocations: 4 kB / 1.079 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.3326, allocations: 93.94 kB / 1.079 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007605/0.3334, allocations: 56.88 kB / 1.079 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.3376, allocations: 2.157 MB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.338, allocations: 0.7211 MB / 1.082 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005614/0.3385, allocations: 53.92 kB / 1.082 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.3387, allocations: 43.42 kB / 1.082 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.3387, allocations: 0 / 1.082 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.3643, allocations: 5.146 MB / 1.087 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.499, allocations: 9.688 kB / 1.087 GB, free: 5.723 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches