Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001556/0.001556, allocations: 195 kB / 16.14 MB, free: 6.648 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.5034, allocations: 140.4 MB / 0.949 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003973/0.5074, allocations: 4.068 MB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.5075, allocations: 150.5 kB / 0.9531 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.308e-05/0.5076, allocations: 0 / 0.9531 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.93e-05/0.5076, allocations: 4 kB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.03e-05/0.5077, allocations: 19.69 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.508, allocations: 79.56 kB / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.508, allocations: 56.45 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.344e-05/0.5081, allocations: 5.391 kB / 0.9533 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.5081, allocations: 17.39 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.5082, allocations: 7.156 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.5082, allocations: 5.125 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.5084, allocations: 77.42 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.5084, allocations: 10.59 kB / 0.9534 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.5084, allocations: 9.203 kB / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.5086, allocations: 50.52 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5086, allocations: 0 / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.01e-07/0.5086, allocations: 1.188 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.5086, allocations: 0 / 0.9535 GB, free: 5.551 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.0002476/0.5088, allocations: 336.4 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.5089, allocations: 13.12 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.198e-05/0.5089, allocations: 31.88 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.5089, allocations: 6.094 kB / 0.9538 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.715e-05/0.509, allocations: 169.3 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.509, allocations: 27.14 kB / 0.954 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.5091, allocations: 5.438 kB / 0.954 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.976e-05/0.5092, allocations: 48.08 kB / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.5092, allocations: 0 / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.5092, allocations: 0 / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.5092, allocations: 5.375 kB / 0.9541 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.836e-05/0.5092, allocations: 17.98 kB / 0.9541 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.5095, allocations: 335.9 kB / 0.9544 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.755e-05/0.5096, allocations: 20.92 kB / 0.9544 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.19e-05/0.5096, allocations: 6.359 kB / 0.9544 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.5097, allocations: 86.25 kB / 0.9545 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.114e-05/0.5097, allocations: 35.91 kB / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.5097, allocations: 0 / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.5098, allocations: 44.22 kB / 0.9546 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.545e-05/0.5098, allocations: 51.41 kB / 0.9546 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.5099, allocations: 99.59 kB / 0.9547 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.5099, allocations: 26.98 kB / 0.9548 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.23e-05/0.5099, allocations: 88.05 kB / 0.9549 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.017e-06/0.5099, allocations: 5.438 kB / 0.9549 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.51, allocations: 17.92 kB / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.273e-05/0.51, allocations: 324 kB / 0.9552 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.51, allocations: 1.469 kB / 0.9552 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.51, allocations: 14.22 kB / 0.9552 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.5101, allocations: 27.45 kB / 0.9552 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5101, allocations: 5.438 kB / 0.9552 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.119e-05/0.5101, allocations: 42.14 kB / 0.9553 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5102, allocations: 9.766 kB / 0.9553 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.5102, allocations: 0 / 0.9553 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.5102, allocations: 1.156 kB / 0.9553 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.631e-05/0.5102, allocations: 5.344 kB / 0.9553 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.5102, allocations: 3.938 kB / 0.9553 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.5103, allocations: 9.406 kB / 0.9553 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5103, allocations: 1 kB / 0.9553 GB, free: 3.516 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.808e-05/0.5103, allocations: 115.9 kB / 0.9554 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.5103, allocations: 1.25 kB / 0.9554 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.916e-05/0.5104, allocations: 120.8 kB / 0.9555 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.5104, allocations: 181.5 kB / 0.9557 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.5105, allocations: 176.3 kB / 0.9559 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.5105, allocations: 181.5 kB / 0.956 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.5106, allocations: 416.9 kB / 0.9564 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.5106, allocations: 108.9 kB / 0.9565 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.015e-05/0.5107, allocations: 110.2 kB / 0.9566 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/0.5107, allocations: 177.5 kB / 0.9568 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.5107, allocations: 181.4 kB / 0.957 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/0.5107, allocations: 185.4 kB / 0.9572 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.848e-05/0.5107, allocations: 181.6 kB / 0.9573 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.305e-05/0.5108, allocations: 306.8 kB / 0.9576 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.5108, allocations: 183.2 kB / 0.9578 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.5109, allocations: 186.8 kB / 0.958 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.511, allocations: 103.4 kB / 0.9581 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.511, allocations: 181.4 kB / 0.9583 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.511, allocations: 102.4 kB / 0.9584 GB, free: 196 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.57e-05/0.5111, allocations: 87.73 kB / 0.9584 GB, free: 112 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5111, allocations: 0 / 0.9584 GB, free: 112 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002214/0.5113, allocations: 20.34 kB / 0.9585 GB, free: 104 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.0004136/0.5117, allocations: 0.833 MB / 0.9593 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.626e-05/0.5118, allocations: 10.64 kB / 0.9593 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5118, allocations: 4.125 kB / 0.9593 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.5118, allocations: 1.094 kB / 0.9593 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.5122, allocations: 0.5309 MB / 0.9598 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.513, allocations: 1.312 MB / 0.9611 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.5133, allocations: 0.6755 MB / 0.9617 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.5133, allocations: 4.5 kB / 0.9618 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.5133, allocations: 9.812 kB / 0.9618 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5133, allocations: 0 / 0.9618 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04469/0.558, allocations: 1.376 MB / 0.9631 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.5582, allocations: 208.2 kB / 0.9633 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.208, allocations: 0 / 0.9633 GB, free: 11.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches