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.001434/0.001434, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001473/0.001473, allocations: 161 kB / 23.82 MB, free: 0.75 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.9055/0.9055, allocations: 177.1 MB / 204.2 MB, free: 5.586 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.733/1.733, allocations: 359 MB / 0.6052 GB, free: 10.99 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.813e-06/1.813e-06, allocations: 0 / 0.787 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.089e-05, allocations: 3.031 kB / 0.787 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002832/0.002863, allocations: 1.307 MB / 0.7883 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003996/0.006859, allocations: 3.019 MB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.006889, allocations: 0 / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.006916, allocations: 7.922 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.006977, allocations: 11.92 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.007614, allocations: 92.12 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.53e-05/0.007709, allocations: 45.48 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.007749, allocations: 4 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.008377, allocations: 192.8 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.008425, allocations: 11.98 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.008441, allocations: 4 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.008589, allocations: 51.83 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.008608, allocations: 11.97 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.008638, allocations: 12.5 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.008832, allocations: 68.44 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.008836, allocations: 0 / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/0.008838, allocations: 0.5312 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.008844, allocations: 0 / 0.7918 GB, free: 7.691 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.0004337/0.009277, allocations: 369.9 kB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.009328, allocations: 12.03 kB / 0.7921 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.009388, allocations: 9.234 kB / 0.7921 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.922e-05/0.009477, allocations: 113.1 kB / 0.7922 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.009492, allocations: 5.688 kB / 0.7923 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.009527, allocations: 12.31 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.009689, allocations: 127.3 kB / 0.7924 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.009697, allocations: 192 / 0.7924 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.009711, allocations: 5.094 kB / 0.7924 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.00972, allocations: 4 kB / 0.7924 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.00977, allocations: 11.98 kB / 0.7924 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.009939, allocations: 129.9 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.01004, allocations: 58.97 kB / 0.7926 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.01007, allocations: 11.69 kB / 0.7926 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005983/0.01067, allocations: 297.7 kB / 0.7929 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.0107, allocations: 41.39 kB / 0.7929 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.0107, allocations: 0.8438 kB / 0.7929 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006189/0.01132, allocations: 222.9 kB / 0.7931 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.01136, allocations: 51.41 kB / 0.7932 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.01145, allocations: 169.9 kB / 0.7933 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.01146, allocations: 26.3 kB / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.01151, allocations: 130.8 kB / 0.7935 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.01154, allocations: 32.5 kB / 0.7935 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.01159, allocations: 35.36 kB / 0.7936 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.01173, allocations: 0.4899 MB / 0.794 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.01176, allocations: 11.98 kB / 0.794 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.01182, allocations: 66.11 kB / 0.7941 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.01192, allocations: 86.58 kB / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01192, allocations: 0 / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001446/0.01206, allocations: 93.5 kB / 0.7943 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.01208, allocations: 8 kB / 0.7943 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01209, allocations: 3.938 kB / 0.7943 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.0121, allocations: 4 kB / 0.7943 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.01219, allocations: 19.98 kB / 0.7943 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.01219, allocations: 0.5 kB / 0.7943 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.01223, allocations: 8 kB / 0.7943 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.01224, allocations: 5.938 kB / 0.7943 GB, free: 4.758 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 8.62e-05/0.01233, allocations: 168.5 kB / 0.7945 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.01236, allocations: 4 kB / 0.7945 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.01239, allocations: 12.11 kB / 0.7945 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01239, allocations: 0.7188 kB / 0.7945 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.0124, allocations: 0 / 0.7945 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.0124, allocations: 0.6562 kB / 0.7945 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.01262, allocations: 137.1 kB / 0.7946 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01262, allocations: 2.812 kB / 0.7946 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.0127, allocations: 12 kB / 0.7947 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.0127, allocations: 11.98 kB / 0.7947 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.01272, allocations: 4 kB / 0.7947 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01272, allocations: 0 / 0.7947 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01272, allocations: 0 / 0.7947 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.01293, allocations: 219.8 kB / 0.7949 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.01296, allocations: 22.38 kB / 0.7949 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.01297, allocations: 0 / 0.7949 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.01306, allocations: 4 kB / 0.7949 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.01308, allocations: 7.984 kB / 0.7949 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.01309, allocations: 4 kB / 0.7949 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.01313, allocations: 119.2 kB / 0.795 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01313, allocations: 0 / 0.795 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002663/0.0134, allocations: 16.94 kB / 0.795 GB, free: 3.969 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.0001393/0.01354, allocations: 104.4 kB / 0.7951 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.01368, allocations: 48.72 kB / 0.7952 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01368, allocations: 0 / 0.7952 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.01371, allocations: 27.61 kB / 0.7952 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.01398, allocations: 8.969 kB / 0.7952 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.01476, allocations: 271.5 kB / 0.7955 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.0148, allocations: 63.34 kB / 0.7955 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.889e-05/0.01485, allocations: 7.984 kB / 0.7956 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.01488, allocations: 12.5 kB / 0.7956 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.01488, allocations: 0 / 0.7956 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of Templates: time 0.003567/0.01845, allocations: 0.705 MB / 0.7963 GB, free: 2.684 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: 4.843581864144653]