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.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.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.005119/0.005119, allocations: 103.9 kB / 15.73 MB, free: 6.035 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.001162/0.001162, allocations: 196 kB / 16.67 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.983/2.983, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.84 kB / 1.054 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3138, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006003/0.3198, allocations: 3.292 MB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001656/0.32, allocations: 51.86 kB / 1.211 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.3201, allocations: 0 / 1.211 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.3202, allocations: 7.938 kB / 1.211 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.3204, allocations: 15.91 kB / 1.211 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008055/0.3212, allocations: 179.2 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3213, allocations: 39.89 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.3214, allocations: 0 / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.3214, allocations: 11.98 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-05/0.3215, allocations: 19.86 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3215, allocations: 0 / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.3219, allocations: 167.6 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.322, allocations: 11.98 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.3221, allocations: 15.92 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.3224, allocations: 128 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3224, allocations: 4 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3224, allocations: 4 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.3224, allocations: 0 / 1.211 GB, free: 6.238 MB / 0.9669 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.0005159/0.323, allocations: 351.4 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.323, allocations: 8.031 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.323, allocations: 30.75 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3231, allocations: 8.875 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.3232, allocations: 168.4 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.3233, allocations: 26.27 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3233, allocations: 8.125 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3235, allocations: 45.67 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3235, allocations: 0 / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3235, allocations: 0 / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.3235, allocations: 0 / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.883e-05/0.3236, allocations: 19.92 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.3243, allocations: 0.5833 MB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.814e-05/0.3243, allocations: 18.58 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.3243, allocations: 4.859 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.3246, allocations: 340.5 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3246, allocations: 34.56 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.3246, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000162/0.3248, allocations: 41.62 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3248, allocations: 51.41 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.3249, allocations: 113.7 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.325, allocations: 25.7 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.325, allocations: 80.14 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.335e-06/0.325, allocations: 7.906 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.3251, allocations: 17.66 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3252, allocations: 322.8 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.3253, allocations: 8.125 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.3253, allocations: 13.72 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.3253, allocations: 25.66 kB / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3254, allocations: 0 / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.525e-05/0.3254, allocations: 41.69 kB / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3255, allocations: 8 kB / 1.213 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.3255, allocations: 8.047 kB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3255, allocations: 7.875 kB / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.3256, allocations: 11.98 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3256, allocations: 0 / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.3256, allocations: 11.94 kB / 1.213 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.3256, allocations: 0 / 1.213 GB, free: 3.438 MB / 0.9669 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 9.284e-05/0.3257, allocations: 113.8 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.3258, allocations: 3.906 kB / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.3259, allocations: 131.5 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-05/0.326, allocations: 180.2 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.474e-05/0.326, allocations: 176.3 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.96e-05/0.3261, allocations: 180.2 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3264, allocations: 409.2 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/0.3264, allocations: 105 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.3265, allocations: 112.9 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.618e-05/0.3265, allocations: 176.3 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.3266, allocations: 180.2 kB / 1.215 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.531e-05/0.3267, allocations: 180.3 kB / 1.215 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.704e-05/0.3268, allocations: 188.2 kB / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.3269, allocations: 307.8 kB / 1.216 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.327, allocations: 182 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.92e-05/0.3271, allocations: 180.3 kB / 1.216 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.3273, allocations: 112.9 kB / 1.216 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.3274, allocations: 180.3 kB / 1.216 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.3274, allocations: 105 kB / 1.217 GB, free: 92 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.3275, allocations: 87.27 kB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3275, allocations: 0 / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003374/0.3278, allocations: 35.98 kB / 1.217 GB, free: 15.96 MB / 0.9825 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.0005678/0.3284, allocations: 0.8633 MB / 1.217 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.3285, allocations: 12 kB / 1.217 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.3285, allocations: 0 / 1.217 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.3285, allocations: 7.875 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.329, allocations: 459.8 kB / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.3301, allocations: 1.34 MB / 1.219 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.3304, allocations: 0.6768 MB / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.174e-05/0.3304, allocations: 6.953 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.3304, allocations: 7.438 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3304, allocations: 0 / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.3499, allocations: 2.17 MB / 1.222 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.76, allocations: 7.422 kB / 1.222 GB, free: 10.49 MB / 0.9825 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) 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) Reference file matches