Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.0009033/0.0009032, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005202/0.005202, allocations: 168.9 kB / 16.26 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.333/2.333, allocations: 443.4 MB / 0.7176 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 8.75 kB / 0.8797 GB, free: 42.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2208, allocations: 155.2 MB / 1.031 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003512/0.2243, allocations: 3.695 MB / 1.035 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.2245, allocations: 163.5 kB / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.259e-05/0.2245, allocations: 0 / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.024e-05/0.2246, allocations: 0 / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.2247, allocations: 19.86 kB / 1.035 GB, free: 444 kB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.2249, allocations: 71.77 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.225, allocations: 59.8 kB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.132e-05/0.225, allocations: 0 / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.134e-05/0.2251, allocations: 16 kB / 1.035 GB, free: 296 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.2251, allocations: 19.91 kB / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.2251, allocations: 0 / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2253, allocations: 75.8 kB / 1.035 GB, free: 200 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.2254, allocations: 11.92 kB / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.2254, allocations: 37.69 kB / 1.035 GB, free: 144 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.71e-05/0.2255, allocations: 44.11 kB / 1.035 GB, free: 100 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2255, allocations: 0 / 1.035 GB, free: 100 kB / 0.7794 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2255, allocations: 3.984 kB / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.2255, allocations: 0 / 1.035 GB, free: 96 kB / 0.7794 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.0002856/0.2258, allocations: 323.6 kB / 1.036 GB, free: 15.73 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2259, allocations: 12.03 kB / 1.036 GB, free: 15.72 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.2259, allocations: 34.73 kB / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.2259, allocations: 0.9375 kB / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.301e-05/0.226, allocations: 164.4 kB / 1.036 GB, free: 15.48 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/0.2261, allocations: 30.2 kB / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2261, allocations: 12.12 kB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.84e-05/0.2262, allocations: 45.67 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.2262, allocations: 4 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2262, allocations: 0 / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.2262, allocations: 0 / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.2263, allocations: 15.98 kB / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.2266, allocations: 341.9 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 2.93e-05/0.2267, allocations: 22.52 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.2267, allocations: 4.859 kB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.05e-05/0.2268, allocations: 89.16 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2268, allocations: 34.56 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2268, allocations: 0 / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001215/0.2269, allocations: 33.7 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.227, allocations: 51.41 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.2271, allocations: 109.8 kB / 1.037 GB, free: 14.55 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2271, allocations: 25.7 kB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.2271, allocations: 88.17 kB / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-06/0.2271, allocations: 0 / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.2272, allocations: 13.72 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.2272, allocations: 326.7 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.2273, allocations: 4 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.2273, allocations: 13.72 kB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.2273, allocations: 29.64 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2273, allocations: 0 / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.21e-05/0.2274, allocations: 53.55 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.2274, allocations: 4 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2274, allocations: 0 / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.2274, allocations: 3.984 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.336e-05/0.2275, allocations: 4 kB / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2275, allocations: 4 kB / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.539e-05/0.2275, allocations: 0 / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2275, allocations: 4.062 kB / 1.037 GB, free: 13.95 MB / 0.795 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 5.945e-05/0.2276, allocations: 121.7 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.2276, allocations: 0 / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.116e-05/0.2277, allocations: 121 kB / 1.037 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.153e-05/0.2278, allocations: 176.3 kB / 1.038 GB, free: 13.51 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.773e-05/0.2278, allocations: 184.2 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.083e-05/0.2279, allocations: 180.3 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2281, allocations: 417.1 kB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-05/0.2281, allocations: 105 kB / 1.038 GB, free: 12.56 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.2281, allocations: 101 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.083e-05/0.2282, allocations: 180.2 kB / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.2283, allocations: 180.3 kB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.44e-05/0.2283, allocations: 188.2 kB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.097e-05/0.2284, allocations: 176.3 kB / 1.039 GB, free: 11.72 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.2285, allocations: 307.7 kB / 1.039 GB, free: 11.39 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.2285, allocations: 186.1 kB / 1.04 GB, free: 11.19 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.2286, allocations: 188.4 kB / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.2288, allocations: 105.3 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.2288, allocations: 184.2 kB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.2289, allocations: 101 kB / 1.04 GB, free: 10.59 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.2289, allocations: 95.27 kB / 1.04 GB, free: 10.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2289, allocations: 4 kB / 1.04 GB, free: 10.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002172/0.2291, allocations: 23.88 kB / 1.04 GB, free: 10.47 MB / 0.795 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.0004042/0.2295, allocations: 0.8281 MB / 1.041 GB, free: 9.617 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.54e-05/0.2296, allocations: 11.98 kB / 1.041 GB, free: 9.605 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2296, allocations: 0 / 1.041 GB, free: 9.605 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.2296, allocations: 4 kB / 1.041 GB, free: 9.602 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.23, allocations: 0.5302 MB / 1.042 GB, free: 9.066 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/0.2308, allocations: 1.33 MB / 1.043 GB, free: 7.645 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.231, allocations: 0.6731 MB / 1.044 GB, free: 6.945 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.2311, allocations: 8 kB / 1.044 GB, free: 6.938 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.2311, allocations: 7.438 kB / 1.044 GB, free: 6.93 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.2311, allocations: 0 / 1.044 GB, free: 6.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.084/2.315, allocations: 1.3 MB / 1.045 GB, free: 5.773 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/2.315, allocations: 226.2 kB / 1.045 GB, free: 5.508 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/4.975, allocations: 3.234 kB / 1.045 GB, free: 5.508 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches