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.001733/0.001733, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002099/0.002099, allocations: 212.1 kB / 23 MB, free: 4.934 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 3.206/3.206, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] 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.002082/0.002082, allocations: 74.7 kB / 1.155 GB, free: 25.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.311, allocations: 176.1 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002614/0.3136, allocations: 1.277 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004351/0.3179, allocations: 2.776 MB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.318, allocations: 3.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.318, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.318, allocations: 7.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.3186, allocations: 99.55 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.85e-05/0.3187, allocations: 35.91 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.3187, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005736/0.3193, allocations: 195.3 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.3193, allocations: 11.98 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3193, allocations: 3.938 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3195, allocations: 63.83 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.3195, allocations: 3.984 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.3195, allocations: 12 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.3197, allocations: 63.78 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3197, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3197, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3197, allocations: 0 / 1.331 GB, free: 12.32 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.0004465/0.3202, allocations: 270.3 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3202, allocations: 12.03 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.3202, allocations: 4.875 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.3203, allocations: 106.5 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3204, allocations: 4.375 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.3204, allocations: 12.3 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3206, allocations: 134.9 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3206, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.3206, allocations: 7.984 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3206, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.3207, allocations: 19.98 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.3208, allocations: 121.1 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.3209, allocations: 50.5 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.321, allocations: 16.86 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/0.3216, allocations: 242.1 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3216, allocations: 34.56 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3216, allocations: 0 / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005912/0.3222, allocations: 225.5 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3223, allocations: 55.41 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.3223, allocations: 105.8 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3224, allocations: 25.7 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.3224, allocations: 84.09 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.3225, allocations: 27.75 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.3225, allocations: 29.7 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3226, allocations: 322.8 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.3227, allocations: 19.98 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.3228, allocations: 57.08 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.3229, allocations: 73.09 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3229, allocations: 0 / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000158/0.323, allocations: 89.55 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.323, allocations: 4 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.323, allocations: 4 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3231, allocations: 0 / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.3231, allocations: 27.92 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3231, allocations: 4 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.87e-05/0.3232, allocations: 4.125 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3232, allocations: 4 kB / 1.334 GB, free: 9.891 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.797e-05/0.3233, allocations: 118.3 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.3233, allocations: 7.953 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.3233, allocations: 8.062 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3233, allocations: 3.984 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3233, allocations: 288 / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.3234, allocations: 4 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.3234, allocations: 7.938 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.3235, allocations: 11.92 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.3235, allocations: 11.98 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00018/0.3237, allocations: 145 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002554/0.324, allocations: 254.7 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.2e-05/0.324, allocations: 16.27 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.3241, allocations: 87.22 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of Backend: time 2.61e-07/0.3241, allocations: 3.938 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.3245, allocations: 136.3 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007917/0.3253, allocations: 0.7656 MB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of Templates: time 0.003889/0.3292, allocations: 1.051 MB / 1.336 GB, free: 7.199 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: 8.607877508999081]