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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000909/0.0009091, allocations: 89.16 kB / 16.02 MB, free: 80 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.001059/0.001058, allocations: 187.4 kB / 16.92 MB, free: 6.68 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.8 MB / 0.7128 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005165/0.0005167, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7151, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004365/0.7195, allocations: 3.412 MB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000192/0.7197, allocations: 155.6 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.7197, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.7199, allocations: 7.984 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.274e-05/0.7199, allocations: 11.92 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.7202, allocations: 75.75 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.4e-05/0.7204, allocations: 55.89 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.7204, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.7205, allocations: 27.84 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.7205, allocations: 8 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.7206, allocations: 4 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.7211, allocations: 187.5 kB / 1.028 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.7211, allocations: 7.984 kB / 1.028 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.7212, allocations: 37.64 kB / 1.028 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.538e-05/0.7213, allocations: 41.81 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7213, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.539e-06/0.7213, allocations: 3.984 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.7213, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.7794 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.0003588/0.7217, allocations: 327.6 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.7217, allocations: 8.031 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.7218, allocations: 4.938 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.7219, allocations: 168.3 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.7219, allocations: 26.27 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.722, allocations: 8.375 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.7221, allocations: 45.62 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.7221, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.7221, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.7221, allocations: 3.938 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.7222, allocations: 19.92 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.7226, allocations: 334 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.932e-05/0.7227, allocations: 18.58 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.7227, allocations: 8.859 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.091e-05/0.7228, allocations: 89.16 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.7228, allocations: 30.56 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.7228, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.723, allocations: 37.62 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.723, allocations: 59.53 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.7231, allocations: 101.8 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.7231, allocations: 25.7 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.7232, allocations: 88.05 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.495e-06/0.7232, allocations: 11.84 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.7232, allocations: 9.719 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7233, allocations: 318.8 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.7233, allocations: 4 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.7234, allocations: 21.72 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.7234, allocations: 17.66 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7234, allocations: 4 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.122e-05/0.7235, allocations: 45.69 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.7235, allocations: 4 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7235, allocations: 3.938 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7235, allocations: 4 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.796e-05/0.7236, allocations: 12.05 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.7236, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.7236, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.7236, allocations: 4 kB / 1.029 GB, free: 9.699 MB / 0.7794 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.894e-05/0.7237, allocations: 114.3 kB / 1.03 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.7237, allocations: 3.938 kB / 1.03 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.7239, allocations: 117 kB / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.469e-05/0.7239, allocations: 192.2 kB / 1.03 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.088e-05/0.724, allocations: 180.3 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.936e-05/0.7241, allocations: 180.2 kB / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.7243, allocations: 405.2 kB / 1.031 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/0.7243, allocations: 105 kB / 1.031 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.7244, allocations: 112.8 kB / 1.031 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-05/0.7244, allocations: 184.3 kB / 1.031 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/0.7245, allocations: 180.2 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.304e-05/0.7246, allocations: 176.3 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-05/0.7246, allocations: 180.2 kB / 1.031 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.7248, allocations: 311.8 kB / 1.032 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.7249, allocations: 189.9 kB / 1.032 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/0.7249, allocations: 184.2 kB / 1.032 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.7251, allocations: 112.9 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.7252, allocations: 176.3 kB / 1.032 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.7252, allocations: 113 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.7252, allocations: 87.27 kB / 1.033 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7252, allocations: 0 / 1.033 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002342/0.7255, allocations: 12 kB / 1.033 GB, free: 6.234 MB / 0.7794 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.0002482/0.7257, allocations: 210.4 kB / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.694e-05/0.7258, allocations: 8.062 kB / 1.033 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7258, allocations: 0 / 1.033 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.7258, allocations: 0 / 1.033 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.7263, allocations: 0.5289 MB / 1.033 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.7265, allocations: 217.6 kB / 1.033 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.7268, allocations: 0.677 MB / 1.034 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.7268, allocations: 7.438 kB / 1.034 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.184e-06/0.7268, allocations: 0 / 1.034 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.002083/0.7289, allocations: 0.7554 MB / 1.035 GB, free: 3.773 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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 & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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