Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Antifreeze.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.0009102/0.0009102, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001416/0.001416, allocations: 181 kB / 24.09 MB, free: 420 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 0.9885/0.9885, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.783/1.783, allocations: 359 MB / 0.6055 GB, free: 10.89 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.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.038e-05, allocations: 3.406 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001692/0.001713, allocations: 1.436 MB / 0.7889 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002504/0.004217, allocations: 2.97 MB / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.004264, allocations: 0 / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.655e-05/0.00434, allocations: 7.922 kB / 0.7918 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.961e-05/0.00444, allocations: 35.81 kB / 0.7919 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.004903, allocations: 201.2 kB / 0.7921 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.005082, allocations: 243.4 kB / 0.7923 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.005117, allocations: 8 kB / 0.7923 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.005223, allocations: 119.8 kB / 0.7924 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.005326, allocations: 116.4 kB / 0.7925 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.005353, allocations: 12 kB / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.005622, allocations: 149 kB / 0.7927 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.005693, allocations: 95.84 kB / 0.7928 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.005749, allocations: 75.81 kB / 0.7928 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.006012, allocations: 304.2 kB / 0.7931 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006014, allocations: 0 / 0.7931 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.81e-07/0.006015, allocations: 0 / 0.7931 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.006018, allocations: 0 / 0.7931 GB, free: 6.488 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005105/0.006529, allocations: 0.5689 MB / 0.7937 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.006563, allocations: 8.031 kB / 0.7937 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.006664, allocations: 28.84 kB / 0.7937 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.006811, allocations: 177.1 kB / 0.7939 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.006847, allocations: 28.3 kB / 0.7939 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.006863, allocations: 13.12 kB / 0.7939 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.00707, allocations: 171 kB / 0.7941 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.007077, allocations: 2.125 kB / 0.7941 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.007092, allocations: 16.06 kB / 0.7941 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.007099, allocations: 4 kB / 0.7941 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.007391, allocations: 329 kB / 0.7944 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.007577, allocations: 181 kB / 0.7946 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.008084, allocations: 447.5 kB / 0.795 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.008163, allocations: 76.17 kB / 0.7951 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.008347, allocations: 91.75 kB / 0.7952 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.008367, allocations: 37.39 kB / 0.7952 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.008369, allocations: 0.8438 kB / 0.7952 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0003984/0.008768, allocations: 269.4 kB / 0.7955 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.0088, allocations: 60.67 kB / 0.7955 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.008878, allocations: 185.8 kB / 0.7957 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.008895, allocations: 29.7 kB / 0.7957 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.008934, allocations: 144.2 kB / 0.7959 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.009008, allocations: 138.8 kB / 0.796 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.009067, allocations: 68.2 kB / 0.7961 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.00918, allocations: 0.5079 MB / 0.7966 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.009241, allocations: 45.53 kB / 0.7966 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.009303, allocations: 49.2 kB / 0.7967 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.009439, allocations: 111.8 kB / 0.7968 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.009441, allocations: 0 / 0.7968 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000223/0.009664, allocations: 201.3 kB / 0.797 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.009676, allocations: 6.719 kB / 0.797 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.009681, allocations: 0 / 0.797 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.009692, allocations: 3.344 kB / 0.797 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.00988, allocations: 95.86 kB / 0.7971 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.009885, allocations: 7.938 kB / 0.7971 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.009971, allocations: 47.84 kB / 0.7971 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.009986, allocations: 17.11 kB / 0.7971 GB, free: 2.211 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.098e-05/0.01007, allocations: 168.5 kB / 0.7973 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.0101, allocations: 31.86 kB / 0.7973 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.01044, allocations: 273.7 kB / 0.7976 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01044, allocations: 4 kB / 0.7976 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01044, allocations: 0 / 0.7976 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01045, allocations: 8.453 kB / 0.7976 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.0106, allocations: 178.6 kB / 0.7978 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01061, allocations: 7.938 kB / 0.7978 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.01078, allocations: 96.5 kB / 0.7979 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.01078, allocations: 5.344 kB / 0.7979 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01079, allocations: 12 kB / 0.7979 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.0108, allocations: 3.984 kB / 0.7979 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.0108, allocations: 3.984 kB / 0.7979 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.01106, allocations: 272.7 kB / 0.7982 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.01108, allocations: 23.78 kB / 0.7982 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.01109, allocations: 8.641 kB / 0.7982 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.01118, allocations: 38.78 kB / 0.7982 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.01124, allocations: 43.92 kB / 0.7983 GB, free: 1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.01126, allocations: 15.98 kB / 0.7983 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.0113, allocations: 131.2 kB / 0.7984 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0113, allocations: 0 / 0.7984 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002442/0.01154, allocations: 119.7 kB / 0.7985 GB, free: 0.7383 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 (37): * Single equations (assignments): 37 * 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.01179, allocations: 203.3 kB / 0.7987 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.01201, allocations: 191.3 kB / 0.7989 GB, free: 352 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01201, allocations: 0 / 0.7989 GB, free: 352 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.01212, allocations: 127.5 kB / 0.799 GB, free: 220 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.01239, allocations: 99.91 kB / 0.7991 GB, free: 120 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.01302, allocations: 356.2 kB / 0.7995 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.01307, allocations: 84.83 kB / 0.7995 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.01321, allocations: 73.25 kB / 0.7996 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.01338, allocations: 158.1 kB / 0.7998 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of SimCode: time 6.21e-07/0.01338, allocations: 7.938 kB / 0.7998 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of Templates: time 0.007278/0.02066, allocations: 6.441 MB / 0.8061 GB, free: 9.09 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_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.026926456950605]