Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001657/0.001657, allocations: 101.8 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002138/0.002138, allocations: 219.5 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.243/3.243, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 64.14 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3112, allocations: 179 MB / 1.345 GB, free: 420 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005043/0.3162, allocations: 3.399 MB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001065/0.3163, allocations: 55.86 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.3164, allocations: 0 / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.711e-05/0.3165, allocations: 7.922 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.3165, allocations: 11.92 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.3171, allocations: 193 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.44e-05/0.3171, allocations: 39.84 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.3172, allocations: 0 / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.208e-05/0.3172, allocations: 23.91 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.3173, allocations: 8 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.3173, allocations: 0 / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.3177, allocations: 191.5 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.3177, allocations: 11.98 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.3177, allocations: 7.938 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.318, allocations: 139.9 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.318, allocations: 4 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.092e-06/0.318, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.318, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003728/0.3184, allocations: 282.1 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.3184, allocations: 8.031 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.436e-05/0.3184, allocations: 4.188 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.3185, allocations: 30.75 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.3185, allocations: 0.9375 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.768e-05/0.3186, allocations: 106.5 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.3186, allocations: 55.97 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.3187, allocations: 3.938 kB / 1.35 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.3188, allocations: 45.69 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3188, allocations: 3.984 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.3188, allocations: 0 / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.3188, allocations: 3.984 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.3189, allocations: 19.94 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.3193, allocations: 259.9 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 3.625e-05/0.3194, allocations: 22.58 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.3194, allocations: 4.859 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3195, allocations: 36.02 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.3195, allocations: 38.5 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3195, allocations: 0 / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.3197, allocations: 45.62 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.3197, allocations: 51.41 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.3198, allocations: 101.9 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3198, allocations: 25.7 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.3199, allocations: 95.95 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-06/0.3199, allocations: 0 / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.3199, allocations: 17.72 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.32, allocations: 314.8 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.32, allocations: 8.125 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.3201, allocations: 21.7 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.3201, allocations: 21.66 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3201, allocations: 0 / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.633e-05/0.3202, allocations: 49.64 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3202, allocations: 7.938 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.3202, allocations: 4.062 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3202, allocations: 4 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-05/0.3203, allocations: 4 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3203, allocations: 0 / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.3203, allocations: 0 / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3203, allocations: 11.92 kB / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.191e-05/0.3204, allocations: 113.8 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.3204, allocations: 4 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.3205, allocations: 113 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.03e-05/0.3206, allocations: 196.2 kB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.388e-05/0.3207, allocations: 180.3 kB / 1.352 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.708e-05/0.3208, allocations: 184.2 kB / 1.352 GB, free: 9.598 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.321, allocations: 376.2 kB / 1.352 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.575e-05/0.3211, allocations: 112.9 kB / 1.352 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.3211, allocations: 105 kB / 1.352 GB, free: 8.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-05/0.3212, allocations: 176.3 kB / 1.352 GB, free: 8.773 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-05/0.3213, allocations: 184.2 kB / 1.353 GB, free: 8.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.167e-05/0.3213, allocations: 176.3 kB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.663e-05/0.3214, allocations: 184.2 kB / 1.353 GB, free: 8.219 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.3216, allocations: 307.8 kB / 1.353 GB, free: 7.895 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.3216, allocations: 116.8 kB / 1.353 GB, free: 7.773 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.3217, allocations: 176.3 kB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.3219, allocations: 108.9 kB / 1.354 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.3219, allocations: 188.2 kB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.322, allocations: 109 kB / 1.354 GB, free: 7.176 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.322, allocations: 83.22 kB / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.322, allocations: 0 / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002919/0.3223, allocations: 39.86 kB / 1.354 GB, free: 7.055 MB / 1.045 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 (0): * Single equations (assignments): 0 * 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.0005739/0.3229, allocations: 0.8557 MB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.468e-05/0.323, allocations: 19.98 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.323, allocations: 7.875 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.323, allocations: 0 / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.3235, allocations: 462.9 kB / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3246, allocations: 1.34 MB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3249, allocations: 0.669 MB / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.857e-05/0.325, allocations: 10.67 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.325, allocations: 11.42 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.325, allocations: 0 / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.3473, allocations: 2.263 MB / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.93, allocations: 12.05 kB / 1.36 GB, free: 1.469 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: 18.848427976015955]