Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001443/0.001443, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001632/0.001632, allocations: 169 kB / 24.28 MB, free: 280 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.977/0.977, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.788/1.788, allocations: 359 MB / 0.6055 GB, free: 11.02 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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.787 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.18e-05, allocations: 6.25 kB / 0.787 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00172/0.001742, allocations: 1.313 MB / 0.7883 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003052/0.004794, allocations: 3.011 MB / 0.7913 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.004823, allocations: 0 / 0.7913 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.00484, allocations: 0 / 0.7913 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.004885, allocations: 4.469 kB / 0.7913 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.005338, allocations: 108.6 kB / 0.7914 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.005407, allocations: 37.45 kB / 0.7914 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.005443, allocations: 0 / 0.7914 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.005866, allocations: 196 kB / 0.7916 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.005902, allocations: 15.92 kB / 0.7916 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.005914, allocations: 0 / 0.7916 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.854e-05/0.006013, allocations: 53.52 kB / 0.7917 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.006024, allocations: 7.984 kB / 0.7917 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.006048, allocations: 12 kB / 0.7917 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.006191, allocations: 63.78 kB / 0.7917 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006194, allocations: 5.969 kB / 0.7917 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006195, allocations: 0 / 0.7917 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.006199, allocations: 0 / 0.7917 GB, free: 8.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003352/0.006534, allocations: 372.2 kB / 0.7921 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.00657, allocations: 8.031 kB / 0.7921 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.006617, allocations: 13.89 kB / 0.7921 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.677e-05/0.006694, allocations: 111 kB / 0.7922 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.006704, allocations: 4.375 kB / 0.7922 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.006729, allocations: 8.375 kB / 0.7922 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.006854, allocations: 127.3 kB / 0.7924 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.00686, allocations: 192 / 0.7924 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.006873, allocations: 8.109 kB / 0.7924 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.00688, allocations: 0 / 0.7924 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.006916, allocations: 21.81 kB / 0.7924 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.007037, allocations: 128.5 kB / 0.7925 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.75e-05/0.007105, allocations: 54.98 kB / 0.7926 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.007129, allocations: 23.67 kB / 0.7926 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.007578, allocations: 289.1 kB / 0.7929 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.007602, allocations: 37.95 kB / 0.7929 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.007603, allocations: 0 / 0.7929 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004519/0.008055, allocations: 227.6 kB / 0.7931 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.008084, allocations: 55.41 kB / 0.7932 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.00816, allocations: 165.9 kB / 0.7933 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.008169, allocations: 27.92 kB / 0.7934 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.008216, allocations: 138.8 kB / 0.7935 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.008232, allocations: 27.78 kB / 0.7935 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.008267, allocations: 31.33 kB / 0.7935 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004085/0.008675, allocations: 0.4923 MB / 0.794 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.008692, allocations: 4 kB / 0.794 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.008737, allocations: 67.23 kB / 0.7941 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.008805, allocations: 91.27 kB / 0.7942 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.008806, allocations: 0 / 0.7942 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.615e-05/0.008902, allocations: 91.25 kB / 0.7943 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.008914, allocations: 7.984 kB / 0.7943 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.008918, allocations: 3.688 kB / 0.7943 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.008931, allocations: 4 kB / 0.7943 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.008984, allocations: 16 kB / 0.7943 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.00899, allocations: 4.438 kB / 0.7943 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.00901, allocations: 4 kB / 0.7943 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.009016, allocations: 4 kB / 0.7943 GB, free: 5.141 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.163e-05/0.009078, allocations: 172.4 kB / 0.7945 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.009094, allocations: 4 kB / 0.7945 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.009118, allocations: 12.12 kB / 0.7945 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.009119, allocations: 5.5 kB / 0.7945 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.009122, allocations: 0 / 0.7945 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.009126, allocations: 4 kB / 0.7945 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.009263, allocations: 132.5 kB / 0.7946 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.009264, allocations: 1.031 kB / 0.7946 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.009321, allocations: 19.98 kB / 0.7946 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009322, allocations: 0 / 0.7946 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.009331, allocations: 5.125 kB / 0.7947 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.009332, allocations: 0 / 0.7947 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009333, allocations: 0 / 0.7947 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.009474, allocations: 232.8 kB / 0.7949 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.009495, allocations: 7.953 kB / 0.7949 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.009505, allocations: 5.25 kB / 0.7949 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.009554, allocations: 7.984 kB / 0.7949 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.009569, allocations: 0 / 0.7949 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.009573, allocations: 4 kB / 0.7949 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.936e-05/0.009602, allocations: 125 kB / 0.795 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009602, allocations: 0 / 0.795 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000146/0.009749, allocations: 12 kB / 0.795 GB, free: 4.348 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 8.769e-05/0.009836, allocations: 103.9 kB / 0.7951 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.558e-05/0.009922, allocations: 49.36 kB / 0.7952 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009923, allocations: 0 / 0.7952 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.826e-05/0.009941, allocations: 23.67 kB / 0.7952 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.01011, allocations: 12.59 kB / 0.7952 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.01067, allocations: 282.7 kB / 0.7955 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.0107, allocations: 64.66 kB / 0.7955 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.01073, allocations: 4 kB / 0.7955 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.01076, allocations: 12.5 kB / 0.7956 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.01076, allocations: 0 / 0.7956 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of Templates: time 0.002142/0.0129, allocations: 0.6471 MB / 0.7962 GB, free: 3.109 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.069095523096621]