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.001946/0.001946, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002071/0.002071, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.546/1.546, allocations: 177.1 MB / 203.9 MB, free: 5.312 MB / 186.7 MB " [Timeout remaining time 178] 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 2.881/2.881, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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 6.863e-06/6.863e-06, allocations: 4 kB / 0.7863 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.512e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002618/0.002653, allocations: 1.275 MB / 0.7876 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00478/0.007433, allocations: 3.006 MB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.007457, allocations: 0 / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.007477, allocations: 5.328 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.00754, allocations: 3.984 kB / 0.7905 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.008138, allocations: 109 kB / 0.7906 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.929e-05/0.008238, allocations: 35.84 kB / 0.7907 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.008278, allocations: 4 kB / 0.7907 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006451/0.008923, allocations: 188.2 kB / 0.7908 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.008985, allocations: 24.44 kB / 0.7909 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.009006, allocations: 1.062 kB / 0.7909 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.00918, allocations: 51.84 kB / 0.7909 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.009203, allocations: 3.984 kB / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.00925, allocations: 20.55 kB / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.009677, allocations: 60.38 kB / 0.791 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.009686, allocations: 4 kB / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.009687, allocations: 1.375 kB / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.009693, allocations: 0 / 0.791 GB, free: 7.938 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.0005799/0.01027, allocations: 368.2 kB / 0.7914 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.01032, allocations: 9.188 kB / 0.7914 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.01038, allocations: 8.891 kB / 0.7914 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.01051, allocations: 121.5 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.01053, allocations: 384 / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.01056, allocations: 12.38 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.01076, allocations: 128.9 kB / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.01077, allocations: 192 / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.01078, allocations: 4.125 kB / 0.7916 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.01079, allocations: 3.938 kB / 0.7916 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.399e-05/0.01085, allocations: 22.3 kB / 0.7917 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.01105, allocations: 120.6 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.0112, allocations: 66.97 kB / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.01123, allocations: 15.67 kB / 0.7918 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006647/0.0119, allocations: 300.8 kB / 0.7921 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.01194, allocations: 40.83 kB / 0.7922 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.01194, allocations: 0 / 0.7922 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006536/0.01259, allocations: 229.7 kB / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.01264, allocations: 55.41 kB / 0.7924 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.01277, allocations: 165.8 kB / 0.7926 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.0128, allocations: 33.7 kB / 0.7926 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.01289, allocations: 130.8 kB / 0.7928 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.01291, allocations: 27.75 kB / 0.7928 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.01297, allocations: 36.08 kB / 0.7928 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002801/0.01325, allocations: 492.1 kB / 0.7933 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.01329, allocations: 16.48 kB / 0.7933 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.359e-05/0.01338, allocations: 74.67 kB / 0.7934 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.01351, allocations: 95.91 kB / 0.7935 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01352, allocations: 0 / 0.7935 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001608/0.01368, allocations: 99.62 kB / 0.7936 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.01369, allocations: 5.719 kB / 0.7936 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.0137, allocations: 4 kB / 0.7936 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.01372, allocations: 3.938 kB / 0.7936 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.01379, allocations: 20.98 kB / 0.7936 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.01381, allocations: 4 kB / 0.7936 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.672e-05/0.01384, allocations: 7.938 kB / 0.7936 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.01385, allocations: 4.812 kB / 0.7936 GB, free: 4.961 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 0.0001362/0.01399, allocations: 165.5 kB / 0.7938 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.01401, allocations: 4 kB / 0.7938 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.01405, allocations: 12.11 kB / 0.7938 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.01406, allocations: 5.344 kB / 0.7938 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01406, allocations: 0 / 0.7938 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01407, allocations: 0 / 0.7938 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.01432, allocations: 136.6 kB / 0.7939 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01432, allocations: 1.406 kB / 0.7939 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.01441, allocations: 19.98 kB / 0.7939 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01441, allocations: 2.062 kB / 0.7939 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.01443, allocations: 4 kB / 0.7939 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01443, allocations: 4 kB / 0.7939 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01443, allocations: 3.938 kB / 0.794 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.01469, allocations: 227.8 kB / 0.7942 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.417e-05/0.01471, allocations: 7.141 kB / 0.7942 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.01473, allocations: 4 kB / 0.7942 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.01481, allocations: 0 / 0.7942 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.01484, allocations: 11.98 kB / 0.7942 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.01484, allocations: 0 / 0.7942 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.19e-05/0.01492, allocations: 123.5 kB / 0.7943 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01492, allocations: 0 / 0.7943 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002319/0.01515, allocations: 12 kB / 0.7943 GB, free: 4.176 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.0001576/0.01531, allocations: 112.2 kB / 0.7944 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.01545, allocations: 56.69 kB / 0.7945 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01545, allocations: 0 / 0.7945 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.01549, allocations: 28.73 kB / 0.7945 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01573, allocations: 11.88 kB / 0.7945 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/0.01629, allocations: 262.5 kB / 0.7948 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.459e-05/0.01637, allocations: 72.66 kB / 0.7948 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.118e-05/0.01642, allocations: 19.91 kB / 0.7949 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.01645, allocations: 12.5 kB / 0.7949 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.01645, allocations: 3.938 kB / 0.7949 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.003817/0.02026, allocations: 0.6395 MB / 0.7955 GB, free: 2.926 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",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: 7.957699100021273]