Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001433/0.001433, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001619/0.001619, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.896/2.896, allocations: 0.49 GB / 0.7958 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00188/0.00188, allocations: 65.58 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2801, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002199/0.2823, allocations: 1.287 MB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003656/0.2859, allocations: 3.025 MB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.2859, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.2859, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.286, allocations: 7.875 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.2864, allocations: 107.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.859e-05/0.2865, allocations: 35.86 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.2865, allocations: 7.984 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004892/0.287, allocations: 191.3 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.2871, allocations: 15.92 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2871, allocations: 4 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.2872, allocations: 71.86 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.2872, allocations: 4 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.2873, allocations: 19.92 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.2874, allocations: 67.78 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2874, allocations: 0 / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2874, allocations: 0 / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2874, allocations: 4 kB / 1.332 GB, free: 12.6 MB / 1.029 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.0003636/0.2878, allocations: 270.3 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.2878, allocations: 12.03 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.2879, allocations: 0.9375 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/0.288, allocations: 110.5 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.288, allocations: 384 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.288, allocations: 8.375 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.2881, allocations: 53.8 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.2881, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.2881, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2881, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.2882, allocations: 19.97 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.2884, allocations: 144.6 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.2884, allocations: 50.5 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.2885, allocations: 16.84 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005009/0.289, allocations: 245.8 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.289, allocations: 34.56 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.289, allocations: 0 / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005066/0.2895, allocations: 237.4 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2895, allocations: 51.41 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.2896, allocations: 105.8 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.2896, allocations: 33.7 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.2897, allocations: 84.09 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.2897, allocations: 27.75 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.2898, allocations: 29.7 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2899, allocations: 314.8 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.2899, allocations: 15.98 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.29, allocations: 53.14 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.789e-05/0.2901, allocations: 73.03 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2901, allocations: 8 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000138/0.2902, allocations: 89.55 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2902, allocations: 4 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2902, allocations: 7.938 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2902, allocations: 0 / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.2903, allocations: 19.98 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2903, allocations: 4 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.2904, allocations: 8.375 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2904, allocations: 4.125 kB / 1.334 GB, free: 10.23 MB / 1.029 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.019e-05/0.2904, allocations: 122.3 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.2905, allocations: 7.953 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.2905, allocations: 12 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2905, allocations: 3.984 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2905, allocations: 4 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2905, allocations: 3.938 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.2907, allocations: 140.7 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2907, allocations: 4 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.131e-05/0.2908, allocations: 16 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2908, allocations: 4 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.2908, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2908, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2908, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.291, allocations: 179.4 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.291, allocations: 11.98 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.291, allocations: 0 / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2911, allocations: 8 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.2912, allocations: 7.984 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2912, allocations: 3.938 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.2912, allocations: 79.66 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.2912, allocations: 0 / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002363/0.2914, allocations: 16 kB / 1.334 GB, free: 9.559 MB / 1.029 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.0001081/0.2916, allocations: 95.39 kB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.2917, allocations: 47.91 kB / 1.335 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2917, allocations: 0 / 1.335 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.2917, allocations: 19.92 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2919, allocations: 9.25 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.2925, allocations: 344.6 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.2928, allocations: 0.6846 MB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.2928, allocations: 15.38 kB / 1.336 GB, free: 8.285 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.2928, allocations: 4 kB / 1.336 GB, free: 8.281 MB / 1.029 GB Notification: Performance of Templates: time 0.002098/0.2949, allocations: 0.7904 MB / 1.336 GB, free: 7.492 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.922767227020813]