Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.488/2.488, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 67.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8602/0.862, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004044/0.8661, allocations: 3.333 MB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 8.215e-05/0.8662, allocations: 56.34 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.8662, allocations: 0 / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.613e-05/0.8663, allocations: 4.875 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.8664, allocations: 23.08 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.8668, allocations: 187.8 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.536e-05/0.8669, allocations: 37.42 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.8669, allocations: 1.031 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.91e-05/0.867, allocations: 11.78 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.8671, allocations: 21.02 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.8671, allocations: 4.938 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.8674, allocations: 183.3 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.8674, allocations: 8.609 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.8675, allocations: 5.719 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.8677, allocations: 134.6 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8677, allocations: 4.406 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8677, allocations: 0 / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.8677, allocations: 0.7812 kB / 1.275 GB, free: 5.078 MB / 0.9981 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.0003034/0.868, allocations: 346.7 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.8681, allocations: 9.375 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.8681, allocations: 31.5 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.8681, allocations: 2.594 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.606e-05/0.8682, allocations: 171.6 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.8682, allocations: 27.61 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.8682, allocations: 4.906 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.8684, allocations: 49.03 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.8684, allocations: 0 / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.8684, allocations: 9.031 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.8684, allocations: 0.7812 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.961e-05/0.8684, allocations: 17.16 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.8689, allocations: 0.5873 MB / 1.276 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.273e-05/0.8689, allocations: 16.89 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.8689, allocations: 6.375 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.8691, allocations: 347.9 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.8691, allocations: 32.09 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.8691, allocations: 0 / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.8692, allocations: 37.14 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.8693, allocations: 51.41 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.919e-05/0.8693, allocations: 108.5 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.8693, allocations: 26.55 kB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.8693, allocations: 93 kB / 1.277 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-06/0.8694, allocations: 4.766 kB / 1.277 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.8694, allocations: 15.19 kB / 1.277 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.642e-05/0.8694, allocations: 320.8 kB / 1.278 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.8694, allocations: 3.781 kB / 1.278 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.8694, allocations: 16.31 kB / 1.278 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.8695, allocations: 27.69 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.8695, allocations: 0 / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.391e-05/0.8695, allocations: 46.12 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.8696, allocations: 7.141 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8696, allocations: 0.6562 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.8696, allocations: 0.8438 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.161e-05/0.8696, allocations: 6.375 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8696, allocations: 4.688 kB / 1.278 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.8696, allocations: 0.875 kB / 1.278 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.8697, allocations: 7.594 kB / 1.278 GB, free: 2.508 MB / 0.9981 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 4.384e-05/0.8697, allocations: 112.2 kB / 1.278 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.8697, allocations: 0.875 kB / 1.278 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.8698, allocations: 123.2 kB / 1.278 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.8698, allocations: 186 kB / 1.278 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-05/0.8699, allocations: 185.8 kB / 1.278 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/0.8699, allocations: 179 kB / 1.278 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.87, allocations: 411.9 kB / 1.279 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.87, allocations: 101.7 kB / 1.279 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.8701, allocations: 107.7 kB / 1.279 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.388e-05/0.8701, allocations: 177.8 kB / 1.279 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.071e-05/0.8702, allocations: 181.2 kB / 1.279 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.528e-05/0.8703, allocations: 186.1 kB / 1.279 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.115e-05/0.8703, allocations: 186.5 kB / 1.28 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.8705, allocations: 310 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.8706, allocations: 193.7 kB / 1.28 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.8706, allocations: 181.1 kB / 1.28 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.8708, allocations: 105.8 kB / 1.28 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.8709, allocations: 182 kB / 1.281 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.8709, allocations: 101.9 kB / 1.281 GB, free: 15.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.871, allocations: 87.8 kB / 1.281 GB, free: 15.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.871, allocations: 0 / 1.281 GB, free: 15.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00027/0.8712, allocations: 41.77 kB / 1.281 GB, free: 15.1 MB / 1.014 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.0005413/0.8718, allocations: 0.8685 MB / 1.282 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.742e-05/0.8718, allocations: 5.906 kB / 1.282 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8718, allocations: 0 / 1.282 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.8718, allocations: 2.359 kB / 1.282 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.8723, allocations: 466.9 kB / 1.282 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.8732, allocations: 1.333 MB / 1.283 GB, free: 12.47 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.8735, allocations: 0.679 MB / 1.284 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.8735, allocations: 8.828 kB / 1.284 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.8735, allocations: 9.75 kB / 1.284 GB, free: 11.76 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.8735, allocations: 0 / 1.284 GB, free: 11.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.8968, allocations: 2.115 MB / 1.286 GB, free: 11.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/7.686, allocations: 6.188 kB / 1.286 GB, free: 11.28 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.999234763999993]