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.001297/0.001297, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001631/0.001631, allocations: 167 kB / 24.87 MB, free: 8.891 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.977/0.977, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.819/1.819, allocations: 359 MB / 0.6063 GB, free: 10.9 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 2.525e-06/2.525e-06, allocations: 4 kB / 0.7883 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.861e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.005082/0.00511, allocations: 1.308 MB / 0.7895 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006125/0.01124, allocations: 2.987 MB / 0.7925 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.01126, allocations: 3.531 kB / 0.7925 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.01128, allocations: 3.938 kB / 0.7925 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.01132, allocations: 7.922 kB / 0.7925 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.0117, allocations: 103.5 kB / 0.7926 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.01176, allocations: 35.84 kB / 0.7926 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.01179, allocations: 4 kB / 0.7926 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.01224, allocations: 188.1 kB / 0.7928 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.267e-05/0.01227, allocations: 15.97 kB / 0.7928 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.01228, allocations: 9.031 kB / 0.7928 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.01238, allocations: 47.89 kB / 0.7929 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.0124, allocations: 15.97 kB / 0.7929 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.01242, allocations: 4.938 kB / 0.7929 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.01255, allocations: 71.73 kB / 0.7929 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01256, allocations: 0.9062 kB / 0.7929 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.486e-06/0.01256, allocations: 3.984 kB / 0.7929 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.01256, allocations: 0 / 0.7929 GB, free: 7.484 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.000279/0.01284, allocations: 369.2 kB / 0.7933 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.01287, allocations: 14.25 kB / 0.7933 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.0129, allocations: 13.23 kB / 0.7933 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.422e-05/0.01297, allocations: 104.6 kB / 0.7934 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.01298, allocations: 384 / 0.7934 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.013, allocations: 12.38 kB / 0.7934 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.934e-05/0.01309, allocations: 119.3 kB / 0.7936 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.0131, allocations: 3.062 kB / 0.7936 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.01311, allocations: 12.11 kB / 0.7936 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.01312, allocations: 7.938 kB / 0.7936 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.01314, allocations: 11.98 kB / 0.7936 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.01325, allocations: 101.2 kB / 0.7937 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.826e-05/0.01332, allocations: 59.09 kB / 0.7937 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.01333, allocations: 11.69 kB / 0.7938 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/0.01371, allocations: 306.1 kB / 0.794 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.01374, allocations: 37.39 kB / 0.7941 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.01374, allocations: 0 / 0.7941 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.00338/0.01712, allocations: 218.7 kB / 0.7943 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.01714, allocations: 55.97 kB / 0.7943 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.01721, allocations: 161.9 kB / 0.7945 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.01723, allocations: 30.27 kB / 0.7945 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.01728, allocations: 135.5 kB / 0.7947 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.01729, allocations: 27.75 kB / 0.7947 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.01733, allocations: 36.56 kB / 0.7947 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.01745, allocations: 496.1 kB / 0.7952 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.01746, allocations: 8 kB / 0.7952 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.0175, allocations: 66.95 kB / 0.7953 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.01757, allocations: 87.78 kB / 0.7953 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01757, allocations: 0 / 0.7953 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000105/0.01768, allocations: 94.22 kB / 0.7954 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.01769, allocations: 4.969 kB / 0.7954 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.0177, allocations: 4 kB / 0.7954 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01771, allocations: 1.188 kB / 0.7954 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.01777, allocations: 23.92 kB / 0.7955 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.01777, allocations: 4.078 kB / 0.7955 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.0178, allocations: 0 / 0.7955 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.01781, allocations: 12.83 kB / 0.7955 GB, free: 4.594 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 7.157e-05/0.01788, allocations: 157.9 kB / 0.7956 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.01791, allocations: 11.94 kB / 0.7956 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.01793, allocations: 8.125 kB / 0.7957 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01793, allocations: 0 / 0.7957 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01793, allocations: 11.72 kB / 0.7957 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01794, allocations: 0 / 0.7957 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.0181, allocations: 113.2 kB / 0.7958 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.0181, allocations: 0 / 0.7958 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.01817, allocations: 23.98 kB / 0.7958 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01817, allocations: 3.938 kB / 0.7958 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.01818, allocations: 0 / 0.7958 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.01818, allocations: 0 / 0.7958 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01818, allocations: 0 / 0.7958 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.01833, allocations: 215.9 kB / 0.796 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.01835, allocations: 8.938 kB / 0.796 GB, free: 4 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.01837, allocations: 7.938 kB / 0.796 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.01843, allocations: 9.016 kB / 0.796 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.01844, allocations: 3.938 kB / 0.796 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01845, allocations: 4 kB / 0.796 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.01849, allocations: 124.6 kB / 0.7962 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01849, allocations: 0 / 0.7962 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002257/0.01871, allocations: 16 kB / 0.7962 GB, free: 3.84 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 0.000112/0.01883, allocations: 101.5 kB / 0.7963 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.542e-05/0.01891, allocations: 44.11 kB / 0.7963 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01891, allocations: 0 / 0.7963 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.01914, allocations: 28.19 kB / 0.7963 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.01936, allocations: 9.375 kB / 0.7963 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.02292, allocations: 269.3 kB / 0.7966 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.94e-05/0.02296, allocations: 67.34 kB / 0.7967 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.126e-05/0.02301, allocations: 11.97 kB / 0.7967 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.02307, allocations: 82.2 kB / 0.7968 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.02307, allocations: 0 / 0.7968 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.002482/0.02555, allocations: 0.7251 MB / 0.7975 GB, free: 2.465 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.176020514685661]