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.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.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.005608/0.005608, allocations: 107.8 kB / 15.74 MB, free: 6.449 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.001282/0.001281, allocations: 196 kB / 16.67 MB, free: 6.355 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.289/2.289, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 58.53 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2379, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00473/0.2427, allocations: 4.01 MB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001881/0.2429, allocations: 171.4 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.2429, allocations: 0 / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.558e-05/0.243, allocations: 3.984 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.2431, allocations: 7.938 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.2434, allocations: 81.69 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.415e-05/0.2435, allocations: 35.89 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.243e-05/0.2435, allocations: 4 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.2436, allocations: 19.98 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.881e-05/0.2436, allocations: 15.86 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2436, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.2438, allocations: 63.8 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.2439, allocations: 0 / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.2439, allocations: 15.92 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.244, allocations: 38.78 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.244, allocations: 3.984 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/0.244, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.244, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 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.0003344/0.2444, allocations: 333.5 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2444, allocations: 8.031 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.2444, allocations: 30.75 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.2445, allocations: 8.844 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.2e-05/0.2446, allocations: 161.2 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.2446, allocations: 30.27 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2447, allocations: 8.125 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.2448, allocations: 49.61 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.2448, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2448, allocations: 3.984 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.2448, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.2449, allocations: 19.98 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.2452, allocations: 337.9 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.493e-05/0.2453, allocations: 22.52 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.2453, allocations: 8.859 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.859e-05/0.2454, allocations: 85.17 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.2454, allocations: 30.56 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2454, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.2456, allocations: 37.69 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.2456, allocations: 55.41 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.2457, allocations: 97.98 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2457, allocations: 33.69 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.2457, allocations: 87.98 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-06/0.2458, allocations: 11.89 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.2458, allocations: 17.72 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.2459, allocations: 318.7 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.2459, allocations: 7.984 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.2459, allocations: 9.719 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.246, allocations: 29.72 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.246, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.11e-05/0.246, allocations: 49.62 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2461, allocations: 8 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2461, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2461, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.2461, allocations: 7.984 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2461, allocations: 8.062 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.2462, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2462, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 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 6.687e-05/0.2462, allocations: 117.8 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.2463, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.214e-05/0.2464, allocations: 120.9 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/0.2464, allocations: 176.3 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.888e-05/0.2465, allocations: 184.2 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-05/0.2465, allocations: 188.3 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.2467, allocations: 405.1 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/0.2468, allocations: 105 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.2468, allocations: 105 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.148e-05/0.2469, allocations: 188.2 kB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.2469, allocations: 180.2 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.953e-05/0.247, allocations: 184.2 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.263e-05/0.247, allocations: 176.3 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.2471, allocations: 319.6 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.2472, allocations: 178.1 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.2473, allocations: 184.2 kB / 1.096 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.2474, allocations: 105 kB / 1.096 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.2475, allocations: 184.3 kB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.2475, allocations: 104.9 kB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.2475, allocations: 87.27 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2475, allocations: 0 / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002284/0.2478, allocations: 19.88 kB / 1.097 GB, free: 7.895 MB / 0.8575 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.0004114/0.2482, allocations: 0.8324 MB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.056e-05/0.2483, allocations: 11.94 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2483, allocations: 0 / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.2483, allocations: 0 / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.2486, allocations: 467.6 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.2495, allocations: 1.329 MB / 1.099 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2497, allocations: 0.6768 MB / 1.1 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.2498, allocations: 4.047 kB / 1.1 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.2498, allocations: 7.438 kB / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2498, allocations: 0 / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2997/0.5495, allocations: 1.509 MB / 1.102 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.412, allocations: 4.281 kB / 1.102 GB, free: 3.02 MB / 0.8575 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