Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 159.2 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.015/3.015, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.067e-05, allocations: 2.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006425/0.006456, allocations: 3.626 MB / 0.9849 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.006694, allocations: 143.5 kB / 0.9851 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.006717, allocations: 3.938 kB / 0.9851 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.006826, allocations: 7.922 kB / 0.9851 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.006903, allocations: 4 kB / 0.9851 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.007312, allocations: 89.23 kB / 0.9852 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.007421, allocations: 43.84 kB / 0.9852 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.007476, allocations: 4 kB / 0.9852 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.574e-05/0.007542, allocations: 19.91 kB / 0.9852 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/0.007631, allocations: 15.98 kB / 0.9852 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.007648, allocations: 0 / 0.9852 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007135/0.008361, allocations: 211.2 kB / 0.9855 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.008407, allocations: 0 / 0.9855 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.008439, allocations: 11.97 kB / 0.9855 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.008624, allocations: 63.81 kB / 0.9855 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.008627, allocations: 4 kB / 0.9855 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.92e-07/0.008628, allocations: 4 kB / 0.9855 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.008638, allocations: 0 / 0.9855 GB, free: 7.738 MB / 0.9356 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.0004236/0.009062, allocations: 262.3 kB / 0.9858 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.009101, allocations: 8.031 kB / 0.9858 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.009145, allocations: 4.938 kB / 0.9858 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.009278, allocations: 105.7 kB / 0.9859 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.224e-05/0.00936, allocations: 55.97 kB / 0.9859 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.009368, allocations: 384 / 0.9859 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.009518, allocations: 67.95 kB / 0.986 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.009526, allocations: 4.188 kB / 0.986 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.009539, allocations: 3.938 kB / 0.986 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.009557, allocations: 7.984 kB / 0.986 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.009601, allocations: 8 kB / 0.986 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.01002, allocations: 212.5 kB / 0.9862 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.604e-05/0.01007, allocations: 22.52 kB / 0.9863 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.0101, allocations: 12.8 kB / 0.9863 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.856e-05/0.01016, allocations: 4.062 kB / 0.9863 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.01019, allocations: 34.56 kB / 0.9863 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.01019, allocations: 0 / 0.9863 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001689/0.01036, allocations: 41.62 kB / 0.9863 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.0104, allocations: 55.41 kB / 0.9864 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.0105, allocations: 97.86 kB / 0.9865 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.01052, allocations: 25.7 kB / 0.9865 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.01058, allocations: 92.08 kB / 0.9866 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.01059, allocations: 7.953 kB / 0.9866 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.01063, allocations: 17.72 kB / 0.9866 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.01076, allocations: 310.8 kB / 0.9869 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.01079, allocations: 15.92 kB / 0.9869 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.01082, allocations: 17.91 kB / 0.987 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.01086, allocations: 29.78 kB / 0.987 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01087, allocations: 3.938 kB / 0.987 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.19e-05/0.01096, allocations: 45.62 kB / 0.987 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01097, allocations: 4 kB / 0.987 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01098, allocations: 96 / 0.987 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.011, allocations: 7.984 kB / 0.987 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/0.01105, allocations: 4 kB / 0.9871 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.01106, allocations: 3.984 kB / 0.9871 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.01108, allocations: 12 kB / 0.9871 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.0111, allocations: 4 kB / 0.9871 GB, free: 5.961 MB / 0.9356 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 8.741e-05/0.01118, allocations: 109.8 kB / 0.9872 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.01122, allocations: 7.938 kB / 0.9872 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.01134, allocations: 120.9 kB / 0.9873 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.25e-05/0.01143, allocations: 184.2 kB / 0.9875 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.134e-05/0.01151, allocations: 176.3 kB / 0.9876 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.671e-05/0.01158, allocations: 180.3 kB / 0.9878 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.01183, allocations: 360.8 kB / 0.9882 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.126e-05/0.01188, allocations: 105 kB / 0.9883 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.01193, allocations: 104.9 kB / 0.9884 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-05/0.01201, allocations: 184.2 kB / 0.9885 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.01208, allocations: 176.3 kB / 0.9887 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.117e-05/0.01217, allocations: 184.2 kB / 0.9889 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.897e-05/0.01225, allocations: 180.3 kB / 0.989 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.01242, allocations: 303.8 kB / 0.9893 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.01248, allocations: 108.9 kB / 0.9894 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.01259, allocations: 188.2 kB / 0.9896 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.01276, allocations: 105 kB / 0.9897 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.01286, allocations: 188.2 kB / 0.9899 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-05/0.01295, allocations: 105 kB / 0.99 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.01302, allocations: 87.28 kB / 0.9901 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01302, allocations: 0 / 0.9901 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000265/0.01328, allocations: 15.94 kB / 0.9901 GB, free: 2.672 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.0002456/0.01353, allocations: 190.5 kB / 0.9903 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.285e-05/0.01361, allocations: 15.92 kB / 0.9903 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01362, allocations: 3.938 kB / 0.9903 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.01362, allocations: 0 / 0.9903 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.01413, allocations: 463.8 kB / 0.9907 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.01446, allocations: 176 kB / 0.9909 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.416e-05/0.01453, allocations: 67.22 kB / 0.991 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.01458, allocations: 7.375 kB / 0.991 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.0146, allocations: 8.5 kB / 0.991 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of SimCode: time 9.71e-07/0.0146, allocations: 0 / 0.991 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of Templates: time 0.003687/0.01829, allocations: 0.6743 MB / 0.9916 GB, free: 1.035 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.56664514169097]