Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001423/0.001423, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001416/0.001416, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.246/1.246, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.44/2.44, allocations: 469.8 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 73.62 kB / 0.9082 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2314, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004737/0.2361, allocations: 3.761 MB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001772/0.2363, allocations: 159.5 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.2363, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.76e-05/0.2364, allocations: 11.92 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.2365, allocations: 7.984 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.2368, allocations: 80.88 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.2368, allocations: 35.84 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.2369, allocations: 8 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.2369, allocations: 11.94 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.237, allocations: 19.97 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.168e-06/0.237, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.2374, allocations: 175.5 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.2375, allocations: 7.984 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.2375, allocations: 15.92 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.2376, allocations: 48.17 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2376, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2376, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.2376, allocations: 4 kB / 1.068 GB, free: 10.15 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.0003557/0.238, allocations: 340.6 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.238, allocations: 11.97 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.238, allocations: 30.75 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.2381, allocations: 4.938 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2382, allocations: 164.3 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.2383, allocations: 26.27 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.2383, allocations: 8.125 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.2384, allocations: 45.69 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2384, allocations: 0 / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.2384, allocations: 0 / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.2384, allocations: 7.984 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.2385, allocations: 11.94 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.2389, allocations: 334 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.309e-05/0.2389, allocations: 18.58 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.2389, allocations: 8.859 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.464e-05/0.239, allocations: 89.16 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2391, allocations: 34.56 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2391, allocations: 0 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.2392, allocations: 41.55 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.2392, allocations: 55.39 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.2393, allocations: 97.98 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2393, allocations: 29.7 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.2394, allocations: 88.05 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.2394, allocations: 7.984 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.2394, allocations: 17.66 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2396, allocations: 314.8 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.2396, allocations: 8 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.2396, allocations: 17.7 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.2396, allocations: 25.66 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2396, allocations: 0 / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.797e-05/0.2397, allocations: 45.69 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.2397, allocations: 5.719 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2397, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2398, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.2398, allocations: 11.94 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2398, allocations: 4.062 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.2398, allocations: 7.938 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2398, allocations: 0 / 1.07 GB, free: 7.996 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.48e-05/0.2399, allocations: 117.8 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.2399, allocations: 3.906 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.504e-05/0.24, allocations: 117.6 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/0.2401, allocations: 180.2 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.46e-05/0.2402, allocations: 188.5 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.419e-05/0.2403, allocations: 180.2 kB / 1.07 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.2405, allocations: 409.2 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.861e-05/0.2406, allocations: 101 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.2406, allocations: 108.9 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-05/0.2407, allocations: 180.3 kB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.542e-05/0.2408, allocations: 188.2 kB / 1.071 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.909e-05/0.2408, allocations: 176.3 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.483e-05/0.2409, allocations: 188.2 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.2411, allocations: 303.8 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.2412, allocations: 190 kB / 1.072 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/0.2412, allocations: 180.3 kB / 1.072 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.2414, allocations: 105 kB / 1.072 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.2415, allocations: 184.2 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.2415, allocations: 101 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.2416, allocations: 91.28 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2416, allocations: 0 / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002098/0.2418, allocations: 19.88 kB / 1.073 GB, free: 4.539 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.0004813/0.2423, allocations: 0.8402 MB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.259e-05/0.2423, allocations: 8.016 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2423, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.479e-06/0.2423, allocations: 7.938 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2427, allocations: 465.5 kB / 1.074 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.2437, allocations: 1.321 MB / 1.075 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.244, allocations: 0.6729 MB / 1.076 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.519e-05/0.244, allocations: 9.312 kB / 1.076 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.244, allocations: 11.42 kB / 1.076 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.244, allocations: 4 kB / 1.076 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3094/0.5534, allocations: 1.414 MB / 1.077 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/0.5537, allocations: 229.9 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.702, allocations: 2.625 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches