Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001346/0.001346, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001437/0.001437, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9516/0.9516, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.409/2.409, allocations: 438.1 MB / 0.682 GB, free: 14.2 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.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_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8897 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.12e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00159/0.001611, allocations: 1.328 MB / 0.891 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.004454, allocations: 3.025 MB / 0.8939 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.004477, allocations: 0 / 0.8939 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.004492, allocations: 0 / 0.8939 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.004539, allocations: 15.91 kB / 0.894 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.00494, allocations: 103.4 kB / 0.8941 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.985e-05/0.005, allocations: 43.83 kB / 0.8941 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.755e-05/0.005028, allocations: 0 / 0.8941 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.005352, allocations: 159.5 kB / 0.8942 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.862e-05/0.005381, allocations: 7.984 kB / 0.8943 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.005394, allocations: 4 kB / 0.8943 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.005482, allocations: 51.83 kB / 0.8943 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.005502, allocations: 23.91 kB / 0.8943 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.604e-05/0.005518, allocations: 8 kB / 0.8943 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.005651, allocations: 67.78 kB / 0.8944 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005653, allocations: 0 / 0.8944 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005654, allocations: 0 / 0.8944 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.005657, allocations: 3.938 kB / 0.8944 GB, free: 4.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002862/0.005943, allocations: 368.2 kB / 0.8948 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.005979, allocations: 12.62 kB / 0.8948 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.006005, allocations: 4.938 kB / 0.8948 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.022e-05/0.006065, allocations: 112.6 kB / 0.8949 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.006077, allocations: 8.359 kB / 0.8949 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.006099, allocations: 20.25 kB / 0.8949 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.554e-05/0.006195, allocations: 123.3 kB / 0.895 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.0062, allocations: 192 / 0.895 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.006207, allocations: 8.125 kB / 0.895 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.006212, allocations: 0 / 0.895 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.006237, allocations: 11.98 kB / 0.895 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.52e-05/0.006332, allocations: 105.2 kB / 0.8951 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.932e-05/0.006392, allocations: 59.03 kB / 0.8952 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.006408, allocations: 15.69 kB / 0.8952 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003613/0.006769, allocations: 312.2 kB / 0.8955 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.006787, allocations: 33.39 kB / 0.8955 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.006787, allocations: 0 / 0.8955 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0003328/0.00712, allocations: 217.7 kB / 0.8958 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.007143, allocations: 55.41 kB / 0.8958 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.007202, allocations: 157.9 kB / 0.896 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.007212, allocations: 25.7 kB / 0.896 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.007258, allocations: 146.7 kB / 0.8961 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.00727, allocations: 23.81 kB / 0.8961 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.0073, allocations: 35.34 kB / 0.8962 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.007413, allocations: 496.1 kB / 0.8967 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.007423, allocations: 11.92 kB / 0.8967 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.007463, allocations: 62.11 kB / 0.8967 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.19e-05/0.007525, allocations: 82.03 kB / 0.8968 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007526, allocations: 4 kB / 0.8968 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.323e-05/0.007609, allocations: 89.48 kB / 0.8969 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.007623, allocations: 8 kB / 0.8969 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007627, allocations: 3.938 kB / 0.8969 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.007641, allocations: 4 kB / 0.8969 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.007689, allocations: 19.98 kB / 0.8969 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.007693, allocations: 0 / 0.8969 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.007714, allocations: 8 kB / 0.8969 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.007719, allocations: 4 kB / 0.8969 GB, free: 2.078 MB / 0.8542 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.341e-05/0.007782, allocations: 164.6 kB / 0.8971 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.007801, allocations: 15.89 kB / 0.8971 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.007826, allocations: 12.12 kB / 0.8971 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007828, allocations: 448 / 0.8971 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.00783, allocations: 0 / 0.8971 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.007833, allocations: 0 / 0.8971 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.007964, allocations: 117.2 kB / 0.8972 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.007967, allocations: 3.984 kB / 0.8972 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.008011, allocations: 12 kB / 0.8972 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008013, allocations: 3.938 kB / 0.8973 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.008019, allocations: 288 / 0.8973 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.008019, allocations: 4 kB / 0.8973 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.00802, allocations: 4 kB / 0.8973 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.008151, allocations: 219.8 kB / 0.8975 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.008173, allocations: 8.031 kB / 0.8975 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.008185, allocations: 11.92 kB / 0.8975 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.008229, allocations: 0 / 0.8975 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.008241, allocations: 4 kB / 0.8975 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.008244, allocations: 3.938 kB / 0.8975 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.00828, allocations: 131.2 kB / 0.8976 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.00828, allocations: 0 / 0.8976 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001489/0.008429, allocations: 8 kB / 0.8976 GB, free: 1.312 MB / 0.8542 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.778e-05/0.008517, allocations: 107.2 kB / 0.8977 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.558e-05/0.008593, allocations: 43.75 kB / 0.8978 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.008596, allocations: 3.984 kB / 0.8978 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.554e-05/0.008612, allocations: 23.62 kB / 0.8978 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.008774, allocations: 8 kB / 0.8978 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.009241, allocations: 282.3 kB / 0.8981 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.94e-05/0.009271, allocations: 55.36 kB / 0.8981 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.009306, allocations: 11.98 kB / 0.8981 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.00936, allocations: 78.2 kB / 0.8982 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of SimCode: time 6.22e-07/0.009361, allocations: 0 / 0.8982 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of Templates: time 0.002118/0.01148, allocations: 0.7198 MB / 0.8989 GB, free: 15.93 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.305820687208325]