Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.001391/0.001391, allocations: 108 kB / 15.6 MB, free: 132 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.001353/0.001353, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.546/2.546, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 65.08 kB / 0.9086 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2436, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005125/0.2487, allocations: 4.012 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001843/0.2489, allocations: 159.5 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.249, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.632e-05/0.249, allocations: 3.984 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.013e-05/0.2491, allocations: 15.92 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.2494, allocations: 83.69 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7e-05/0.2495, allocations: 35.91 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.979e-05/0.2495, allocations: 3.984 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.2496, allocations: 15.94 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.2496, allocations: 15.91 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2496, allocations: 0 / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.2498, allocations: 59.81 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.2498, allocations: 0 / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.2499, allocations: 12 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.25, allocations: 44.17 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.25, allocations: 4 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.021e-06/0.25, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.25, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 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.0003498/0.2504, allocations: 339.5 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.2504, allocations: 8.031 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.2504, allocations: 34.75 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.2505, allocations: 8.844 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2506, allocations: 164.3 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.2506, allocations: 30.2 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2507, allocations: 12.12 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.2508, allocations: 45.67 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.2508, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.2508, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.2508, allocations: 3.984 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.762e-05/0.2509, allocations: 12 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.2513, allocations: 330 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.2513, allocations: 26.52 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.2513, allocations: 12.8 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.2514, allocations: 89.16 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2515, allocations: 30.56 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.2515, allocations: 0 / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001155/0.2516, allocations: 29.7 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.2516, allocations: 63.45 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.501e-05/0.2517, allocations: 101.9 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2517, allocations: 25.7 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.2518, allocations: 87.98 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.2518, allocations: 15.89 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.2518, allocations: 13.72 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.252, allocations: 314.8 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.252, allocations: 8 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.252, allocations: 17.7 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.252, allocations: 21.72 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.2521, allocations: 0 / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.11e-05/0.2521, allocations: 45.62 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2521, allocations: 8 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2522, allocations: 0 / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.2522, allocations: 0 / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.476e-05/0.2522, allocations: 8.062 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2522, allocations: 4 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.2522, allocations: 4 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2522, allocations: 0 / 1.07 GB, free: 7.613 MB / 0.8262 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.827e-05/0.2523, allocations: 121.7 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.2524, allocations: 0 / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.2525, allocations: 120.9 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-05/0.2525, allocations: 188.5 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.009e-05/0.2526, allocations: 180.2 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.037e-05/0.2527, allocations: 180.3 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.2529, allocations: 413.1 kB / 1.071 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.324e-05/0.253, allocations: 105 kB / 1.071 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.253, allocations: 104.9 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-05/0.2531, allocations: 184.2 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/0.2532, allocations: 180.2 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.33e-05/0.2533, allocations: 192.2 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.629e-05/0.2533, allocations: 184.2 kB / 1.072 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.2535, allocations: 311.6 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.2536, allocations: 182.1 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/0.2537, allocations: 188.2 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.2538, allocations: 101 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.2539, allocations: 188.2 kB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.2539, allocations: 109 kB / 1.073 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.254, allocations: 83.28 kB / 1.073 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.254, allocations: 0 / 1.073 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002624/0.2543, allocations: 19.94 kB / 1.073 GB, free: 4.129 MB / 0.8262 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.0004964/0.2548, allocations: 0.836 MB / 1.074 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.48e-05/0.2548, allocations: 4 kB / 1.074 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2548, allocations: 0 / 1.074 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.2548, allocations: 0 / 1.074 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.2552, allocations: 459.7 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.2562, allocations: 1.325 MB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.2565, allocations: 0.6729 MB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.2565, allocations: 4 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.2566, allocations: 15.42 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.2566, allocations: 0 / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.242/2.499, allocations: 1.477 MB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/13.92, allocations: 7.047 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches