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.001001/0.001001, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001419/0.001419, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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 0.9582/0.9582, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.822/1.822, allocations: 359 MB / 0.6052 GB, free: 10.95 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.004e-06/2.004e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.874e-05, allocations: 3.219 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00572/0.005749, allocations: 3.852 MB / 0.7908 GB, free: 7.535 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001862/0.005935, allocations: 153.2 kB / 0.791 GB, free: 7.387 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.005957, allocations: 3.938 kB / 0.791 GB, free: 7.383 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.006079, allocations: 8.531 kB / 0.791 GB, free: 7.375 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/0.006162, allocations: 4.703 kB / 0.791 GB, free: 7.371 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.006519, allocations: 89.8 kB / 0.7911 GB, free: 7.285 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.006615, allocations: 35.84 kB / 0.7911 GB, free: 7.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.006656, allocations: 4 kB / 0.7911 GB, free: 7.246 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.006718, allocations: 20.5 kB / 0.7911 GB, free: 7.227 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.857e-05/0.006796, allocations: 20.45 kB / 0.7911 GB, free: 7.207 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.006811, allocations: 0 / 0.7911 GB, free: 7.207 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005988/0.00741, allocations: 216.3 kB / 0.7914 GB, free: 7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.007451, allocations: 0 / 0.7914 GB, free: 7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.007477, allocations: 13.11 kB / 0.7914 GB, free: 6.988 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.007634, allocations: 67.75 kB / 0.7914 GB, free: 6.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007636, allocations: 0 / 0.7914 GB, free: 6.922 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.052e-06/0.007637, allocations: 1.938 kB / 0.7914 GB, free: 6.922 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.007642, allocations: 0 / 0.7914 GB, free: 6.922 MB / 0.698 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.0004068/0.008049, allocations: 360.3 kB / 0.7918 GB, free: 6.535 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.008089, allocations: 8.031 kB / 0.7918 GB, free: 6.527 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.008141, allocations: 4.938 kB / 0.7918 GB, free: 6.523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.795e-05/0.008239, allocations: 114.9 kB / 0.7919 GB, free: 6.387 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/0.008313, allocations: 55.97 kB / 0.792 GB, free: 6.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.008327, allocations: 384 / 0.792 GB, free: 6.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.008479, allocations: 84.64 kB / 0.792 GB, free: 6.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.00849, allocations: 8.109 kB / 0.792 GB, free: 6.215 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.008503, allocations: 3.938 kB / 0.792 GB, free: 6.211 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.008531, allocations: 4.531 kB / 0.792 GB, free: 6.207 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.008563, allocations: 9.922 kB / 0.7921 GB, free: 6.199 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.008967, allocations: 255.8 kB / 0.7923 GB, free: 5.914 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.453e-05/0.009012, allocations: 23.06 kB / 0.7923 GB, free: 5.879 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.009031, allocations: 11.62 kB / 0.7923 GB, free: 5.863 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.567e-05/0.009086, allocations: 14.61 kB / 0.7923 GB, free: 5.852 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.009255, allocations: 41.33 kB / 0.7924 GB, free: 5.801 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.009256, allocations: 0 / 0.7924 GB, free: 5.801 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.009399, allocations: 33.7 kB / 0.7924 GB, free: 5.762 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.009429, allocations: 51.41 kB / 0.7925 GB, free: 5.699 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.009521, allocations: 161.9 kB / 0.7926 GB, free: 5.523 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.009534, allocations: 26.23 kB / 0.7926 GB, free: 5.492 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.009586, allocations: 135.7 kB / 0.7928 GB, free: 5.355 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.009592, allocations: 3.953 kB / 0.7928 GB, free: 5.352 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.009627, allocations: 23.38 kB / 0.7928 GB, free: 5.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.009766, allocations: 496.9 kB / 0.7933 GB, free: 4.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.00978, allocations: 4 kB / 0.7933 GB, free: 4.816 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/0.009806, allocations: 28.47 kB / 0.7933 GB, free: 4.781 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.009846, allocations: 24.2 kB / 0.7933 GB, free: 4.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009848, allocations: 0 / 0.7933 GB, free: 4.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.212e-05/0.00993, allocations: 54.92 kB / 0.7934 GB, free: 4.691 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.009944, allocations: 8 kB / 0.7934 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.009949, allocations: 0 / 0.7934 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.009963, allocations: 0.7812 kB / 0.7934 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.664e-05/0.01001, allocations: 7.984 kB / 0.7934 GB, free: 4.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.01002, allocations: 11.19 kB / 0.7934 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.01004, allocations: 0 / 0.7934 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.01004, allocations: 0 / 0.7934 GB, free: 4.668 MB / 0.698 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.197e-05/0.01012, allocations: 160.5 kB / 0.7936 GB, free: 4.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01014, allocations: 3.938 kB / 0.7936 GB, free: 4.496 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.01026, allocations: 178.9 kB / 0.7937 GB, free: 4.316 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.799e-05/0.01033, allocations: 264.1 kB / 0.794 GB, free: 4.051 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.012e-05/0.0104, allocations: 272 kB / 0.7943 GB, free: 3.777 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.599e-05/0.01047, allocations: 265.8 kB / 0.7945 GB, free: 3.512 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.01068, allocations: 0.4922 MB / 0.795 GB, free: 2.977 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.281e-05/0.01072, allocations: 148.8 kB / 0.7951 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.01076, allocations: 148.9 kB / 0.7953 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-05/0.01083, allocations: 276.9 kB / 0.7955 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-05/0.01091, allocations: 268.1 kB / 0.7958 GB, free: 2.125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.059e-05/0.01098, allocations: 272.1 kB / 0.796 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.877e-05/0.01105, allocations: 269.1 kB / 0.7963 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.01121, allocations: 448 kB / 0.7967 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.01126, allocations: 152.8 kB / 0.7969 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.01134, allocations: 269.2 kB / 0.7971 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.01148, allocations: 148.8 kB / 0.7973 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.01155, allocations: 273.4 kB / 0.7975 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.0116, allocations: 148.8 kB / 0.7977 GB, free: 116 kB / 0.698 GB Notification: Performance of sorting global known variables: time 6.813e-05/0.01167, allocations: 127.2 kB / 0.7978 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.01167, allocations: 0 / 0.7978 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002835/0.01195, allocations: 17.81 kB / 0.7978 GB, free: 15.97 MB / 0.7136 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.0001789/0.01213, allocations: 230.4 kB / 0.798 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.551e-05/0.01221, allocations: 23.95 kB / 0.7981 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01222, allocations: 1.188 kB / 0.7981 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.01222, allocations: 0 / 0.7981 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.01267, allocations: 0.7178 MB / 0.7988 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.01316, allocations: 239.2 kB / 0.799 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.16e-05/0.0132, allocations: 55.34 kB / 0.799 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.138e-05/0.01324, allocations: 8.312 kB / 0.7991 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.01326, allocations: 12.5 kB / 0.7991 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.01326, allocations: 0 / 0.7991 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.002829/0.01609, allocations: 0.7505 MB / 0.7998 GB, free: 13.89 MB / 0.7136 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: 4.87288769101724]