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.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.001259/0.001259, allocations: 71.75 kB / 20.97 MB, free: 3.574 MB / 18.57 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.001738/0.001738, allocations: 169 kB / 24.28 MB, free: 272 kB / 18.57 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.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.816/1.816, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.787 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.569e-05/3.827e-05, allocations: 8.984 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00626/0.006298, allocations: 3.841 MB / 0.7908 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002176/0.006516, allocations: 156.2 kB / 0.791 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.006548, allocations: 4 kB / 0.791 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.006668, allocations: 1.656 kB / 0.791 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.006758, allocations: 11.86 kB / 0.791 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.00715, allocations: 93.36 kB / 0.7911 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.007256, allocations: 31.84 kB / 0.7911 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.007302, allocations: 0 / 0.7911 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.007375, allocations: 20.48 kB / 0.7911 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.628e-05/0.007462, allocations: 20.94 kB / 0.7911 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.007477, allocations: 0 / 0.7911 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006451/0.008122, allocations: 208 kB / 0.7913 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.008171, allocations: 11.92 kB / 0.7913 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.008201, allocations: 12.7 kB / 0.7914 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.008374, allocations: 60.39 kB / 0.7914 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.008378, allocations: 0 / 0.7914 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/0.00838, allocations: 1.5 kB / 0.7914 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.008385, allocations: 0 / 0.7914 GB, free: 8.375 MB / 0.7448 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.0004122/0.008797, allocations: 364.2 kB / 0.7918 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.00884, allocations: 8.031 kB / 0.7918 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.008899, allocations: 9.766 kB / 0.7918 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.009008, allocations: 109.9 kB / 0.7919 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/0.009095, allocations: 63.95 kB / 0.7919 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.009112, allocations: 4.375 kB / 0.7919 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.009279, allocations: 81.8 kB / 0.792 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.009289, allocations: 192 / 0.792 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.009304, allocations: 3.938 kB / 0.792 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.009336, allocations: 1.375 kB / 0.792 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.825e-05/0.009374, allocations: 8 kB / 0.792 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.009795, allocations: 251.8 kB / 0.7923 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.041e-05/0.009846, allocations: 35.94 kB / 0.7923 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.009867, allocations: 15.62 kB / 0.7923 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.646e-05/0.009923, allocations: 4.906 kB / 0.7923 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.009952, allocations: 37.39 kB / 0.7924 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.009954, allocations: 1.344 kB / 0.7924 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.01011, allocations: 33.64 kB / 0.7924 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.01015, allocations: 59.39 kB / 0.7925 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.01026, allocations: 158.5 kB / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.01027, allocations: 26.33 kB / 0.7926 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.01034, allocations: 138.8 kB / 0.7928 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.01035, allocations: 17.69 kB / 0.7928 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.01039, allocations: 19.38 kB / 0.7928 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.01053, allocations: 492.1 kB / 0.7933 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.01055, allocations: 4 kB / 0.7933 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.01058, allocations: 27.36 kB / 0.7933 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.01062, allocations: 23.72 kB / 0.7933 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01062, allocations: 0 / 0.7933 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.696e-05/0.01071, allocations: 53.56 kB / 0.7934 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.01073, allocations: 8 kB / 0.7934 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.01074, allocations: 0 / 0.7934 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.01075, allocations: 0 / 0.7934 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.0108, allocations: 4 kB / 0.7934 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.01081, allocations: 0 / 0.7934 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.01083, allocations: 7.938 kB / 0.7934 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.01084, allocations: 4.531 kB / 0.7934 GB, free: 6.117 MB / 0.7448 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.227e-05/0.01092, allocations: 162.5 kB / 0.7936 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.01095, allocations: 7.891 kB / 0.7936 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.01108, allocations: 163.7 kB / 0.7937 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.744e-05/0.01117, allocations: 268 kB / 0.794 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.039e-05/0.01125, allocations: 272.8 kB / 0.7942 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.757e-05/0.01133, allocations: 268.1 kB / 0.7945 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.01156, allocations: 0.4889 MB / 0.795 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.446e-05/0.0116, allocations: 144.9 kB / 0.7951 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.01165, allocations: 159.5 kB / 0.7953 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.896e-05/0.01173, allocations: 272 kB / 0.7955 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.01181, allocations: 264.1 kB / 0.7958 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.969e-05/0.01189, allocations: 272 kB / 0.796 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-05/0.01197, allocations: 268.1 kB / 0.7963 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.01215, allocations: 448 kB / 0.7967 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.0122, allocations: 152.8 kB / 0.7969 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.0123, allocations: 274.7 kB / 0.7971 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.01245, allocations: 153.2 kB / 0.7973 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.01253, allocations: 268 kB / 0.7975 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.01258, allocations: 152.9 kB / 0.7977 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.286e-05/0.01263, allocations: 123.2 kB / 0.7978 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01263, allocations: 0 / 0.7978 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003068/0.01294, allocations: 19.92 kB / 0.7978 GB, free: 1.422 MB / 0.7448 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.0002214/0.01316, allocations: 235.3 kB / 0.798 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.068e-05/0.01325, allocations: 24.7 kB / 0.798 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01325, allocations: 4 kB / 0.7981 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.01325, allocations: 1.062 kB / 0.7981 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.01376, allocations: 0.7062 MB / 0.7987 GB, free: 452 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.01433, allocations: 234.7 kB / 0.799 GB, free: 188 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.236e-05/0.01437, allocations: 59.89 kB / 0.799 GB, free: 108 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.838e-05/0.01442, allocations: 8.812 kB / 0.799 GB, free: 104 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.01444, allocations: 12.48 kB / 0.799 GB, free: 92 kB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.01445, allocations: 0.875 kB / 0.799 GB, free: 92 kB / 0.7448 GB Notification: Performance of Templates: time 0.003278/0.01772, allocations: 0.6917 MB / 0.7997 GB, free: 15.41 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.188043867936358]