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.001453/0.001453, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001642/0.001642, allocations: 208.6 kB / 22.25 MB, free: 5.086 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.883/2.883, allocations: 476.7 MB / 0.7707 GB, free: 4.336 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 68.36 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3246, allocations: 170 MB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002459/0.3271, allocations: 1.296 MB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.3314, allocations: 3.003 MB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.3314, allocations: 0 / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.3314, allocations: 0 / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.3315, allocations: 7.922 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.332, allocations: 111.5 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.3321, allocations: 39.89 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.3321, allocations: 0 / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005827/0.3327, allocations: 195.3 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.3328, allocations: 19.97 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.3328, allocations: 0 / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.333, allocations: 63.88 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.333, allocations: 15.91 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.333, allocations: 15.94 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.3332, allocations: 63.86 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3332, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3332, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.892e-06/0.3332, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 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.0004691/0.3337, allocations: 278.2 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3337, allocations: 8.031 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.3337, allocations: 12.86 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3339, allocations: 106.5 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3339, allocations: 12.38 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.3339, allocations: 4.375 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.334, allocations: 57.8 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.334, allocations: 3.938 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3341, allocations: 4 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3341, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.457e-05/0.3341, allocations: 23.97 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.3343, allocations: 132.7 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.547e-05/0.3344, allocations: 54.5 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.3344, allocations: 16.84 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/0.335, allocations: 246.1 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.335, allocations: 30.56 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.335, allocations: 0 / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000583/0.3356, allocations: 229.1 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3357, allocations: 55.41 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.3358, allocations: 101.8 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3358, allocations: 25.7 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.3358, allocations: 88.17 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.3359, allocations: 35.72 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.3359, allocations: 21.72 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3361, allocations: 322.8 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.3361, allocations: 19.92 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.3362, allocations: 49.14 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.55e-05/0.3363, allocations: 73.09 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3363, allocations: 0 / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001449/0.3364, allocations: 97.72 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3364, allocations: 4 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3364, allocations: 4 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3364, allocations: 4.031 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.3365, allocations: 23.98 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3365, allocations: 4.125 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.3366, allocations: 7.938 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3366, allocations: 4 kB / 1.291 GB, free: 4.082 MB / 0.9825 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 9.226e-05/0.3367, allocations: 116.2 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3367, allocations: 11.94 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.3367, allocations: 8.062 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3367, allocations: 0 / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.3367, allocations: 4.438 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3367, allocations: 3.938 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.337, allocations: 152.7 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.337, allocations: 4 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.3371, allocations: 12 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3371, allocations: 0 / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3371, allocations: 7.984 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3371, allocations: 3.938 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3371, allocations: 0 / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3373, allocations: 171.4 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.3373, allocations: 19.98 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3373, allocations: 0 / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3375, allocations: 4 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.3375, allocations: 3.984 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3375, allocations: 11.94 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.3375, allocations: 79.22 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3375, allocations: 0 / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002475/0.3378, allocations: 12 kB / 1.291 GB, free: 3.398 MB / 0.9825 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.0001326/0.3379, allocations: 107.2 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.338, allocations: 43.92 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.338, allocations: 0 / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.3381, allocations: 11.94 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.3384, allocations: 8 kB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.339, allocations: 331 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3394, allocations: 0.6846 MB / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.3394, allocations: 7.984 kB / 1.292 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.3395, allocations: 11.44 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3395, allocations: 0 / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of Templates: time 0.0035/0.343, allocations: 0.6811 MB / 1.293 GB, free: 1.469 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] 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: 9.102896796073765]