Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.001659/0.001659, 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.001985/0.001985, allocations: 209.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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.25/3.25, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solCol.vol.9..T|tan.vol.1..T|TIn.T|pumCon.on",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solCol.vol.9..T|tan.vol.1..T|TIn.T|pumCon.on",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") [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.002043/0.002043, allocations: 66.64 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3647, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.1181/0.4828, allocations: 99.62 MB / 1.424 GB, free: 13 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.2244/0.7072, allocations: 164.6 MB / 1.585 GB, free: 7.805 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008553/0.7157, allocations: 222.2 kB / 1.585 GB, free: 7.586 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01074/0.7265, allocations: 3.258 MB / 1.589 GB, free: 4.312 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.7439, allocations: 5.787 MB / 1.594 GB, free: 14.5 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01299/0.7569, allocations: 5.005 MB / 1.599 GB, free: 9.52 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.8559/1.613, allocations: 33.44 MB / 1.632 GB, free: 13.14 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02156/1.634, allocations: 10.85 MB / 1.642 GB, free: 28.46 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02567/1.66, allocations: 11.85 MB / 1.654 GB, free: 28.21 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01865/1.679, allocations: 9.481 MB / 1.663 GB, free: 26.68 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.006457/1.685, allocations: 1.591 MB / 1.665 GB, free: 26.68 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01498/1.7, allocations: 4.439 MB / 1.669 GB, free: 26.67 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.007343/1.708, allocations: 4.026 MB / 1.673 GB, free: 26.11 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.01577/1.723, allocations: 6.205 MB / 1.679 GB, free: 24.69 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.03413/1.757, allocations: 23.01 MB / 1.701 GB, free: 22.01 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.757, allocations: 0 / 1.701 GB, free: 22.01 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.124e-06/1.757, allocations: 0.9375 kB / 1.701 GB, free: 22.01 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0008988/1.758, allocations: 0 / 1.701 GB, free: 22.01 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2329 * Number of variables: 2329 Notification: Performance of Generate backend data structure: time 0.04633/1.805, allocations: 14.74 MB / 1.716 GB, free: 16.43 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.805, allocations: 10.19 kB / 1.716 GB, free: 16.43 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0242/1.829, allocations: 3.335 MB / 1.719 GB, free: 15.69 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02952/1.858, allocations: 11.75 MB / 1.731 GB, free: 13.84 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008659/1.859, allocations: 0.6829 MB / 1.731 GB, free: 13.54 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004486/1.864, allocations: 0.9049 MB / 1.732 GB, free: 13.23 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04579/1.91, allocations: 15.08 MB / 1.747 GB, free: 3.258 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000365/1.91, allocations: 26.48 kB / 1.747 GB, free: 3.254 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003321/1.913, allocations: 380.5 kB / 1.747 GB, free: 2.973 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003303/1.914, allocations: 379.2 kB / 1.748 GB, free: 2.922 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03422/1.948, allocations: 12.69 MB / 1.76 GB, free: 12.51 MB / 1.326 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/2.051, allocations: 39.42 MB / 1.799 GB, free: 6.379 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0224/2.073, allocations: 8.974 MB / 1.807 GB, free: 13.55 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0113/2.085, allocations: 4.491 MB / 1.812 GB, free: 9.043 MB / 1.373 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.04959/2.134, allocations: 15.9 MB / 1.827 GB, free: 9.324 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01433/2.148, allocations: 6.005 MB / 1.833 GB, free: 2.91 MB / 1.389 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005222/2.154, allocations: 0.5116 MB / 1.834 GB, free: 2.398 MB / 1.389 GB Notification: Performance of pre-optimization done (n=595): time 1.762e-05/2.154, allocations: 4 kB / 1.834 GB, free: 2.395 MB / 1.389 GB Notification: Performance of matching and sorting (n=595): time 0.03776/2.191, allocations: 11.65 MB / 1.845 GB, free: 6.664 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002453/2.192, allocations: 295.9 kB / 1.845 GB, free: 6.316 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01988/2.212, allocations: 8.529 MB / 1.854 GB, free: 13.8 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.002048/2.214, allocations: 157.3 kB / 1.854 GB, free: 13.65 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.007931/2.222, allocations: 5.072 MB / 1.859 GB, free: 8.574 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.003911/2.225, allocations: 2.134 MB / 1.861 GB, free: 6.469 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004064/2.23, allocations: 1.587 MB / 1.862 GB, free: 4.879 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001489/2.23, allocations: 301.1 kB / 1.863 GB, free: 4.582 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01098/2.241, allocations: 4.471 MB / 1.867 GB, free: 104 kB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0143/2.255, allocations: 6.696 MB / 1.873 GB, free: 8.637 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02479/2.28, allocations: 10.48 MB / 1.884 GB, free: 13.63 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/2.28, allocations: 12 kB / 1.884 GB, free: 13.62 MB / 1.451 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.03226/2.312, allocations: 11.97 MB / 1.895 GB, free: 1.863 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/2.312, allocations: 65.69 kB / 1.895 GB, free: 1.793 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.483e-05/2.312, allocations: 51.98 kB / 1.896 GB, free: 1.742 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/2.312, allocations: 84 kB / 1.896 GB, free: 1.66 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01077/2.323, allocations: 1.907 MB / 1.897 GB, free: 15.86 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001872/2.323, allocations: 118.8 kB / 1.898 GB, free: 15.76 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/2.334, allocations: 0.593 MB / 1.898 GB, free: 15.17 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002177/2.336, allocations: 363.8 kB / 1.899 GB, free: 14.81 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01942/2.356, allocations: 7.603 MB / 1.906 GB, free: 7.195 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01436/2.37, allocations: 6.685 MB / 1.912 GB, free: 15.73 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02428/2.394, allocations: 10.46 MB / 1.923 GB, free: 4.75 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.365e-05/2.394, allocations: 12 kB / 1.923 GB, free: 4.738 MB / 1.482 GB Notification: Performance of matching and sorting (n=1007) (initialization_lambda0): time 0.03382/2.428, allocations: 11.94 MB / 1.934 GB, free: 9.012 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/2.428, allocations: 61.69 kB / 1.934 GB, free: 8.945 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.161e-05/2.428, allocations: 48 kB / 1.934 GB, free: 8.898 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.895e-05/2.428, allocations: 87.98 kB / 1.935 GB, free: 8.812 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/2.439, allocations: 1.903 MB / 1.936 GB, free: 7.016 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001876/2.439, allocations: 123.5 kB / 1.937 GB, free: 6.918 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0109/2.45, allocations: 0.5873 MB / 1.937 GB, free: 6.332 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002236/2.453, allocations: 363.8 kB / 1.937 GB, free: 5.977 MB / 1.498 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 31 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (965): * Single equations (assignments): 962 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.003015/2.456, allocations: 0.6381 MB / 1.938 GB, free: 5.438 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003678/2.459, allocations: 0.8849 MB / 1.939 GB, free: 4.547 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02687/2.486, allocations: 9.699 MB / 1.948 GB, free: 10.78 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02077/2.507, allocations: 7.795 MB / 1.956 GB, free: 2.867 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/2.507, allocations: 7.984 kB / 1.956 GB, free: 2.859 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008295/2.515, allocations: 2.013 MB / 1.958 GB, free: 0.8477 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003492/2.519, allocations: 139.9 kB / 1.958 GB, free: 0.7109 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009114/2.528, allocations: 487.4 kB / 1.959 GB, free: 240 kB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001402/2.529, allocations: 404.1 kB / 1.959 GB, free: 15.84 MB / 1.529 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02938/2.559, allocations: 9.058 MB / 1.968 GB, free: 6.805 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03853/2.597, allocations: 14.47 MB / 1.982 GB, free: 8.211 MB / 1.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009933/2.607, allocations: 3.931 MB / 1.986 GB, free: 4.25 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.01354/2.621, allocations: 5.826 MB / 1.991 GB, free: 14.45 MB / 1.561 GB Notification: Performance of Backend: time 3.9e-07/2.621, allocations: 0 / 1.991 GB, free: 14.45 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.04289/2.664, allocations: 13.37 MB / 2.005 GB, free: 1.828 MB / 1.561 GB Notification: Performance of SimCode: time 0.05458/2.718, allocations: 23.75 MB / 2.028 GB, free: 10.2 MB / 1.592 GB Notification: Performance of Templates: time 1.039/3.757, allocations: 258.4 MB / 2.28 GB, free: 0.7513 GB / 1.826 GB " [Timeout remaining time 296] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.757801738000126]