Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.007356/0.007356, allocations: 102.1 kB / 15.73 MB, free: 5.508 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.002073/0.002073, allocations: 197.3 kB / 16.68 MB, free: 5.438 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.31/2.31, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 68.12 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2323, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004517/0.2369, allocations: 3.727 MB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001696/0.2371, allocations: 155.5 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.2371, allocations: 3.938 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.54e-05/0.2372, allocations: 3.938 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.037e-05/0.2372, allocations: 19.91 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.2375, allocations: 87.5 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.2376, allocations: 31.92 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.763e-05/0.2376, allocations: 4 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.2377, allocations: 27.91 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.2377, allocations: 7.938 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2377, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.2382, allocations: 191.4 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.2382, allocations: 7.984 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.2383, allocations: 4 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.2384, allocations: 52.11 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2384, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2384, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.2384, allocations: 0 / 1.17 GB, free: 2.941 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.0003277/0.2387, allocations: 333.5 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.2388, allocations: 12.03 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.2388, allocations: 34.75 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.2388, allocations: 0.9375 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2389, allocations: 168.4 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.239, allocations: 30.2 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.239, allocations: 4.125 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.2391, allocations: 45.69 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2391, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.2391, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.2392, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.808e-05/0.2392, allocations: 19.98 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.2396, allocations: 349.9 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.008e-05/0.2396, allocations: 22.52 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.2396, allocations: 4.859 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.821e-05/0.2397, allocations: 81.17 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2397, allocations: 38.56 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2397, allocations: 0 / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001068/0.2399, allocations: 33.69 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2399, allocations: 59.34 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.24, allocations: 105.8 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.24, allocations: 25.7 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.24, allocations: 88.09 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/0.24, allocations: 4 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.2401, allocations: 13.8 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2402, allocations: 334.7 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.2402, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.2402, allocations: 13.72 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.2403, allocations: 21.72 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2403, allocations: 0 / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.018e-05/0.2404, allocations: 53.62 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.2404, allocations: 8 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.2404, allocations: 0 / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.2404, allocations: 0 / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.526e-05/0.2404, allocations: 7.984 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.2404, allocations: 0 / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.2405, allocations: 4 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.2405, allocations: 0 / 1.172 GB, free: 0.7812 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 6.846e-05/0.2405, allocations: 117.7 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.2406, allocations: 4.062 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.428e-05/0.2407, allocations: 125 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.375e-05/0.2407, allocations: 176.3 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.441e-05/0.2408, allocations: 180.2 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-05/0.2409, allocations: 180.3 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.2411, allocations: 413.1 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/0.2412, allocations: 105 kB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.2412, allocations: 109 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.984e-05/0.2413, allocations: 180.2 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-05/0.2413, allocations: 176.3 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.257e-05/0.2414, allocations: 184.2 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.798e-05/0.2415, allocations: 184.3 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2416, allocations: 315.6 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.2417, allocations: 178.1 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.2418, allocations: 184.2 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.2419, allocations: 109 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.242, allocations: 188.1 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.242, allocations: 105 kB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.2421, allocations: 87.27 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2421, allocations: 0 / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002094/0.2423, allocations: 19.88 kB / 1.175 GB, free: 13.31 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.0004361/0.2427, allocations: 0.8321 MB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.212e-05/0.2428, allocations: 4 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2428, allocations: 4 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.2428, allocations: 0 / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.2432, allocations: 471.7 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/0.244, allocations: 1.309 MB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.2443, allocations: 0.6768 MB / 1.179 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.023e-05/0.2443, allocations: 8.422 kB / 1.179 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.2444, allocations: 7.438 kB / 1.179 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2444, allocations: 0 / 1.179 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.32/3.565, allocations: 1.532 MB / 1.18 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/15.45, allocations: 13.78 kB / 1.18 GB, free: 8.473 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches