Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.0009921/0.0009921, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001495/0.001495, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.004/1.004, allocations: 177.2 MB / 203.7 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.349/2.349, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Antifreeze.Functions.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.523e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001839/0.001864, allocations: 1.352 MB / 0.891 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.00352, allocations: 1.596 MB / 0.8926 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.003556, allocations: 0 / 0.8926 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.003577, allocations: 3.938 kB / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.796e-05/0.003655, allocations: 15.91 kB / 0.8926 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.004281, allocations: 218.9 kB / 0.8928 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.004352, allocations: 47.78 kB / 0.8929 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.004389, allocations: 7.938 kB / 0.8929 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/0.004449, allocations: 27.91 kB / 0.8929 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.811e-05/0.004477, allocations: 15.98 kB / 0.8929 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.00449, allocations: 0 / 0.8929 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/0.004908, allocations: 211.6 kB / 0.8931 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.004923, allocations: 7.969 kB / 0.8931 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.004948, allocations: 15.94 kB / 0.8931 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.005194, allocations: 191.5 kB / 0.8933 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.005197, allocations: 4 kB / 0.8933 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005199, allocations: 0 / 0.8933 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.005203, allocations: 0 / 0.8933 GB, free: 6.059 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006472/0.005851, allocations: 416.1 kB / 0.8937 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.005888, allocations: 8.031 kB / 0.8937 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.00592, allocations: 8.891 kB / 0.8937 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.137e-05/0.005991, allocations: 112.6 kB / 0.8938 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.006002, allocations: 4.375 kB / 0.8939 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.00601, allocations: 12.31 kB / 0.8939 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.36e-05/0.006093, allocations: 69.55 kB / 0.8939 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.0061, allocations: 192 / 0.8939 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-06/0.006106, allocations: 4.375 kB / 0.8939 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.006113, allocations: 7.922 kB / 0.8939 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.693e-05/0.00615, allocations: 39.88 kB / 0.894 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.006269, allocations: 109 kB / 0.8941 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.006331, allocations: 78.34 kB / 0.8942 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.006357, allocations: 31.42 kB / 0.8942 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004554/0.006812, allocations: 256.6 kB / 0.8944 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.006837, allocations: 37.39 kB / 0.8945 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.006839, allocations: 0 / 0.8945 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0001567/0.006995, allocations: 81.56 kB / 0.8945 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.007023, allocations: 77.11 kB / 0.8946 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.536e-05/0.007088, allocations: 165.9 kB / 0.8948 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.007098, allocations: 25.7 kB / 0.8948 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.007127, allocations: 126.9 kB / 0.8949 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.007159, allocations: 35.72 kB / 0.895 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.007192, allocations: 31.5 kB / 0.895 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.007302, allocations: 496.1 kB / 0.8955 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.007318, allocations: 15.92 kB / 0.8955 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.007344, allocations: 35.3 kB / 0.8955 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.529e-05/0.007389, allocations: 43.3 kB / 0.8956 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007391, allocations: 0 / 0.8956 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.655e-05/0.007468, allocations: 65.58 kB / 0.8956 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.007482, allocations: 10.66 kB / 0.8956 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007486, allocations: 0 / 0.8956 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.007498, allocations: 4.031 kB / 0.8956 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/0.007553, allocations: 15.98 kB / 0.8956 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007557, allocations: 4 kB / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.007573, allocations: 7.938 kB / 0.8957 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.007576, allocations: 0 / 0.8957 GB, free: 3.438 MB / 0.8542 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 (9): * Single equations (assignments): 9 * 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.22e-05/0.007639, allocations: 160.6 kB / 0.8958 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.00765, allocations: 11.94 kB / 0.8958 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.007768, allocations: 89.66 kB / 0.8959 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.007771, allocations: 4 kB / 0.8959 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007772, allocations: 0 / 0.8959 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.007776, allocations: 7.969 kB / 0.8959 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.653e-05/0.007853, allocations: 105.2 kB / 0.896 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007854, allocations: 0 / 0.896 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.007884, allocations: 15.94 kB / 0.896 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.007887, allocations: 4 kB / 0.896 GB, free: 3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.007893, allocations: 7.984 kB / 0.896 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007894, allocations: 0 / 0.896 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.007897, allocations: 4 kB / 0.896 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.851e-05/0.007985, allocations: 120.1 kB / 0.8962 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.008006, allocations: 7.984 kB / 0.8962 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.008015, allocations: 7.984 kB / 0.8962 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.008025, allocations: 4 kB / 0.8962 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.008039, allocations: 7.984 kB / 0.8962 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.008043, allocations: 4 kB / 0.8962 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.008076, allocations: 123.2 kB / 0.8963 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.008076, allocations: 0 / 0.8963 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002254/0.008301, allocations: 75.69 kB / 0.8964 GB, free: 2.617 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.0002783/0.008579, allocations: 230.8 kB / 0.8966 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.00866, allocations: 39.61 kB / 0.8966 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008662, allocations: 0 / 0.8966 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.008682, allocations: 27.61 kB / 0.8967 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.008847, allocations: 20.98 kB / 0.8967 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.009249, allocations: 185.8 kB / 0.8969 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.223e-05/0.009281, allocations: 63.34 kB / 0.8969 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.009316, allocations: 7.938 kB / 0.8969 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.009375, allocations: 86.19 kB / 0.897 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of SimCode: time 8.11e-07/0.009376, allocations: 0 / 0.897 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of Templates: time 0.003776/0.01315, allocations: 2.294 MB / 0.8993 GB, free: 15.62 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.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.573428922798485]