Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.006529/0.00653, allocations: 100.2 kB / 15.73 MB, free: 6.008 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.001344/0.001344, allocations: 193 kB / 16.67 MB, free: 5.93 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.395/2.395, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.89 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8272/0.8286, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006475/0.8352, allocations: 4.019 MB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002215/0.8354, allocations: 163.5 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.8355, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.8357, allocations: 4 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.788e-05/0.8358, allocations: 11.88 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.8362, allocations: 85.44 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.546e-05/0.8363, allocations: 35.89 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.8363, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.8364, allocations: 15.94 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.8365, allocations: 11.97 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.8365, allocations: 11.94 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.8367, allocations: 55.81 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.8368, allocations: 7.984 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.8368, allocations: 11.98 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.837, allocations: 38.16 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.837, allocations: 7.984 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.212e-06/0.837, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.837, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 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.0004552/0.8375, allocations: 335.4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.8376, allocations: 12.62 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.8376, allocations: 34.75 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.8377, allocations: 4.938 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.8378, allocations: 164.3 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-05/0.8379, allocations: 26.27 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.8379, allocations: 8.125 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.8381, allocations: 45.67 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.8381, allocations: 0 / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.8381, allocations: 0 / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.8381, allocations: 11.94 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.066e-05/0.8382, allocations: 11.98 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.8387, allocations: 334 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.886e-05/0.8387, allocations: 18.52 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.8387, allocations: 8.859 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.65e-05/0.8388, allocations: 89.17 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.8389, allocations: 34.56 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.8389, allocations: 0 / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.839, allocations: 37.69 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.8391, allocations: 55.34 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.8392, allocations: 101.8 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.8392, allocations: 29.69 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.8393, allocations: 88.05 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.8393, allocations: 4.031 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.8393, allocations: 21.72 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8394, allocations: 314.8 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.8395, allocations: 11.98 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.8395, allocations: 17.91 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/0.8395, allocations: 13.72 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8396, allocations: 4 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.872e-05/0.8396, allocations: 53.72 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.8397, allocations: 4 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8397, allocations: 3.984 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.8397, allocations: 0 / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.735e-05/0.8397, allocations: 11.98 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.8397, allocations: 0 / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.8398, allocations: 3.938 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.8398, allocations: 0 / 1.172 GB, free: 13.14 MB / 0.9044 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 0.0001011/0.8399, allocations: 128 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.8399, allocations: 0 / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.84, allocations: 124.8 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.352e-05/0.8401, allocations: 184.2 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.156e-05/0.8402, allocations: 180.3 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.6e-05/0.8403, allocations: 180.3 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.8405, allocations: 413.1 kB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/0.8406, allocations: 101 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.8406, allocations: 108.9 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.599e-05/0.8407, allocations: 180.2 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.556e-05/0.8408, allocations: 180.3 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.489e-05/0.8408, allocations: 184.2 kB / 1.174 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.803e-05/0.8409, allocations: 176.3 kB / 1.174 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.8411, allocations: 311.7 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.8412, allocations: 186 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.8413, allocations: 184.2 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.8414, allocations: 113 kB / 1.175 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.8415, allocations: 180.2 kB / 1.175 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.8415, allocations: 104.9 kB / 1.175 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.8416, allocations: 87.27 kB / 1.175 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8416, allocations: 0 / 1.175 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002427/0.8419, allocations: 19.94 kB / 1.175 GB, free: 9.664 MB / 0.9044 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.0005962/0.8425, allocations: 0.8321 MB / 1.176 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.64e-05/0.8426, allocations: 4 kB / 1.176 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8426, allocations: 8.125 kB / 1.176 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.8426, allocations: 0 / 1.176 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.843, allocations: 465.4 kB / 1.177 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.8441, allocations: 1.324 MB / 1.178 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.8445, allocations: 0.6807 MB / 1.179 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.45e-05/0.8445, allocations: 4 kB / 1.179 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.8446, allocations: 11.44 kB / 1.179 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.8446, allocations: 0 / 1.179 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.8628, allocations: 1.506 MB / 1.18 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.587, allocations: 5.828 kB / 1.18 GB, free: 4.793 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches