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.00164/0.00164, allocations: 112.5 kB / 15.73 MB, free: 76 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.001816/0.001816, allocations: 192.6 kB / 16.67 MB, free: 6.574 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.46/2.46, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 67.88 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2591, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005021/0.2641, allocations: 4.02 MB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001828/0.2643, allocations: 159.5 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.2643, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.837e-05/0.2644, allocations: 3.938 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.2645, allocations: 15.91 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.2648, allocations: 82.81 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.2649, allocations: 35.86 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.29e-05/0.2649, allocations: 4 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.265, allocations: 23.84 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.265, allocations: 8 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.265, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.2652, allocations: 63.8 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.2653, allocations: 3.984 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.2653, allocations: 11.94 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2654, allocations: 44.11 kB / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2654, allocations: 0 / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2654, allocations: 4 kB / 1.171 GB, free: 2.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2654, allocations: 0 / 1.171 GB, free: 2.777 MB / 0.92 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.0003542/0.2658, allocations: 339.4 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2658, allocations: 8.031 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.2659, allocations: 34.75 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.2659, allocations: 4.938 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.266, allocations: 164.4 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.2661, allocations: 26.27 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.2661, allocations: 4.125 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.2662, allocations: 49.69 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2662, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.2662, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.2663, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.089e-05/0.2663, allocations: 23.91 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.2667, allocations: 338 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.588e-05/0.2667, allocations: 18.58 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.194e-05/0.2668, allocations: 8.859 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/0.2668, allocations: 89.16 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2669, allocations: 34.56 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 2.835e-06/0.2669, allocations: 0 / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000113/0.267, allocations: 33.64 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.267, allocations: 51.41 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.2671, allocations: 110 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2671, allocations: 25.7 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.2672, allocations: 88.03 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/0.2672, allocations: 4 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.2673, allocations: 21.67 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2674, allocations: 318.8 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.2674, allocations: 0 / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.2674, allocations: 17.72 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.2675, allocations: 29.64 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2675, allocations: 0 / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.413e-05/0.2675, allocations: 45.64 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2676, allocations: 8 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2676, allocations: 7.922 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.2676, allocations: 0 / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-05/0.2676, allocations: 4 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2676, allocations: 8.062 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.2677, allocations: 3.938 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2677, allocations: 0 / 1.172 GB, free: 0.6133 MB / 0.92 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 7.122e-05/0.2677, allocations: 117.8 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.2678, allocations: 0 / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2679, allocations: 120.9 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.985e-05/0.268, allocations: 184.3 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.713e-05/0.268, allocations: 176.3 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.349e-05/0.2681, allocations: 188.2 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.2684, allocations: 405.2 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/0.2684, allocations: 112.9 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.2685, allocations: 101 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-05/0.2685, allocations: 180.3 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/0.2686, allocations: 184.2 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.59e-05/0.2687, allocations: 180.3 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-05/0.2687, allocations: 180.2 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.2689, allocations: 319.6 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.269, allocations: 178.1 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.2691, allocations: 184.2 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2692, allocations: 108.9 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.2693, allocations: 180.3 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.2693, allocations: 104.9 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.2694, allocations: 87.27 kB / 1.175 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.2694, allocations: 0 / 1.175 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002525/0.2697, allocations: 23.88 kB / 1.176 GB, free: 13.14 MB / 0.9356 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.0004769/0.2701, allocations: 0.8321 MB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.673e-05/0.2702, allocations: 11.92 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.2702, allocations: 0 / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.2702, allocations: 0 / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.2706, allocations: 457.6 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.2716, allocations: 1.321 MB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.2718, allocations: 0.6768 MB / 1.179 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.2719, allocations: 8.359 kB / 1.179 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.2719, allocations: 11.38 kB / 1.179 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.2719, allocations: 0 / 1.179 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9443/1.216, allocations: 1.503 MB / 1.18 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.25, allocations: 17.48 kB / 1.18 GB, free: 8.277 MB / 0.9356 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=400 --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