Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.00127/0.00127, 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.001006/0.001006, allocations: 192.4 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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.165/2.165, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5124, allocations: 140.4 MB / 0.9497 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003488/0.5159, allocations: 3.285 MB / 0.9529 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 6.918e-05/0.516, allocations: 59.42 kB / 0.953 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.516, allocations: 0 / 0.953 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.547e-05/0.5161, allocations: 3.984 kB / 0.953 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.5162, allocations: 6.625 kB / 0.953 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.5166, allocations: 187.1 kB / 0.9532 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.5167, allocations: 33.55 kB / 0.9532 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.5167, allocations: 5.5 kB / 0.9532 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/0.5167, allocations: 24.41 kB / 0.9532 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.5168, allocations: 6 kB / 0.9532 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.5168, allocations: 1.438 kB / 0.9532 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.5171, allocations: 176.3 kB / 0.9534 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.5171, allocations: 9.359 kB / 0.9534 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.5172, allocations: 9.406 kB / 0.9534 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.5174, allocations: 135.4 kB / 0.9535 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5174, allocations: 0 / 0.9535 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5174, allocations: 0 / 0.9535 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5174, allocations: 1.281 kB / 0.9535 GB, free: 6.332 MB / 0.7169 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.0002568/0.5177, allocations: 351 kB / 0.9539 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.5177, allocations: 13.7 kB / 0.9539 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.336e-05/0.5177, allocations: 32.06 kB / 0.9539 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.5178, allocations: 6.406 kB / 0.9539 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.156e-05/0.5178, allocations: 160.4 kB / 0.9541 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.5179, allocations: 31.64 kB / 0.9541 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.5179, allocations: 5.531 kB / 0.9541 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.518, allocations: 39.75 kB / 0.9542 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.518, allocations: 3.938 kB / 0.9542 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.518, allocations: 0 / 0.9542 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.5181, allocations: 5.438 kB / 0.9542 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.5181, allocations: 21.94 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.5185, allocations: 0.5845 MB / 0.9548 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.52e-05/0.5185, allocations: 19.61 kB / 0.9548 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.074e-05/0.5186, allocations: 6.922 kB / 0.9548 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.5187, allocations: 341.2 kB / 0.9551 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.5187, allocations: 39.59 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5187, allocations: 0.9062 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001081/0.5188, allocations: 39.77 kB / 0.9552 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.5189, allocations: 51.41 kB / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.41e-05/0.5189, allocations: 108.2 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.5189, allocations: 25.7 kB / 0.9554 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.5189, allocations: 85.92 kB / 0.9554 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-06/0.519, allocations: 0.9688 kB / 0.9554 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.519, allocations: 25.08 kB / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.07e-05/0.519, allocations: 316.1 kB / 0.9558 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/0.519, allocations: 2.844 kB / 0.9558 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.5191, allocations: 21.67 kB / 0.9558 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.5191, allocations: 19.19 kB / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5191, allocations: 0.8125 kB / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.284e-05/0.5192, allocations: 54.84 kB / 0.9559 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.5192, allocations: 6.562 kB / 0.9559 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5192, allocations: 1.281 kB / 0.9559 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.5192, allocations: 0 / 0.9559 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.619e-05/0.5192, allocations: 5.125 kB / 0.9559 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5193, allocations: 1.188 kB / 0.9559 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.5193, allocations: 5.125 kB / 0.9559 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.5193, allocations: 1.344 kB / 0.9559 GB, free: 3.703 MB / 0.7169 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 3.869e-05/0.5193, allocations: 120.3 kB / 0.956 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.5194, allocations: 5.219 kB / 0.956 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.553e-05/0.5194, allocations: 116.3 kB / 0.9561 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.5195, allocations: 176.3 kB / 0.9563 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.5195, allocations: 181.4 kB / 0.9565 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.5195, allocations: 185.6 kB / 0.9566 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.5196, allocations: 416 kB / 0.957 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.5196, allocations: 110.1 kB / 0.9571 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.028e-05/0.5196, allocations: 102 kB / 0.9572 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/0.5197, allocations: 185.4 kB / 0.9574 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.5197, allocations: 177.4 kB / 0.9576 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-05/0.5197, allocations: 184.2 kB / 0.9578 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-05/0.5197, allocations: 185.5 kB / 0.9579 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.395e-05/0.5198, allocations: 312 kB / 0.9582 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.5198, allocations: 183.2 kB / 0.9584 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.5198, allocations: 178.4 kB / 0.9586 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.52, allocations: 111 kB / 0.9587 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.52, allocations: 177.5 kB / 0.9588 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.52, allocations: 113.9 kB / 0.959 GB, free: 372 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.518e-05/0.52, allocations: 80.78 kB / 0.959 GB, free: 296 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5201, allocations: 0 / 0.959 GB, free: 296 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000254/0.5203, allocations: 39.72 kB / 0.9591 GB, free: 280 kB / 0.7169 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.0003827/0.5207, allocations: 0.8655 MB / 0.9599 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.901e-05/0.5208, allocations: 14.67 kB / 0.9599 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5208, allocations: 0 / 0.9599 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.5208, allocations: 0 / 0.9599 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.5211, allocations: 463.9 kB / 0.9604 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.5219, allocations: 1.334 MB / 0.9617 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.5221, allocations: 0.675 MB / 0.9623 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.5222, allocations: 9 kB / 0.9623 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.5222, allocations: 8.562 kB / 0.9624 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.5222, allocations: 4 kB / 0.9624 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/0.6487, allocations: 2.134 MB / 0.9644 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.489, allocations: 13.97 kB / 0.9645 GB, free: 11.76 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches