Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.001584/0.001584, allocations: 97.11 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.001762/0.001762, allocations: 209.3 kB / 23 MB, free: 4.93 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.167/3.167, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") [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.002066/0.002066, allocations: 69.73 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3567, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.06868/0.4254, allocations: 59.65 MB / 1.385 GB, free: 5.156 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2021/0.6275, allocations: 150 MB / 1.532 GB, free: 14.61 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004587/0.6321, allocations: 127 kB / 1.532 GB, free: 14.49 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.6368, allocations: 1.315 MB / 1.533 GB, free: 13.16 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.6472, allocations: 3.317 MB / 1.536 GB, free: 9.836 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.009595/0.6568, allocations: 3.445 MB / 1.54 GB, free: 6.406 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.05152/0.7083, allocations: 45.95 MB / 1.585 GB, free: 8.336 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02586/0.7342, allocations: 14.91 MB / 1.599 GB, free: 9.273 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 1.486/2.22, allocations: 15.58 MB / 1.614 GB, free: 25.09 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02589/2.246, allocations: 13.39 MB / 1.628 GB, free: 25 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.009489/2.255, allocations: 2.033 MB / 1.63 GB, free: 25 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01947/2.275, allocations: 3.81 MB / 1.633 GB, free: 25 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01273/2.287, allocations: 5.26 MB / 1.638 GB, free: 24.23 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02746/2.315, allocations: 8.294 MB / 1.646 GB, free: 22.37 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.04053/2.355, allocations: 29.37 MB / 1.675 GB, free: 18.9 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/2.355, allocations: 6.547 kB / 1.675 GB, free: 18.9 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.794e-06/2.355, allocations: 3.469 kB / 1.675 GB, free: 18.9 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.001187/2.356, allocations: 0.9375 kB / 1.675 GB, free: 18.9 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3132 * Number of variables: 3132 Notification: Performance of Generate backend data structure: time 0.06086/2.417, allocations: 19.73 MB / 1.694 GB, free: 11.82 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/2.417, allocations: 12.28 kB / 1.694 GB, free: 11.82 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02737/2.445, allocations: 3.72 MB / 1.698 GB, free: 10.84 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04268/2.487, allocations: 16.58 MB / 1.714 GB, free: 8.547 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009562/2.488, allocations: 0.8752 MB / 1.715 GB, free: 8.52 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005889/2.494, allocations: 1.176 MB / 1.716 GB, free: 8.508 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05013/2.544, allocations: 21.83 MB / 1.738 GB, free: 328 kB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004044/2.545, allocations: 49 kB / 1.738 GB, free: 316 kB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004419/2.549, allocations: 0.5087 MB / 1.738 GB, free: 0 / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000539/2.55, allocations: 0.5856 MB / 1.739 GB, free: 15.9 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04554/2.595, allocations: 17.25 MB / 1.756 GB, free: 7.375 MB / 1.311 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.1362/2.732, allocations: 54.63 MB / 1.809 GB, free: 10.23 MB / 1.358 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03063/2.762, allocations: 12.2 MB / 1.821 GB, free: 14.1 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01469/2.777, allocations: 5.943 MB / 1.827 GB, free: 8.141 MB / 1.373 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001985/2.779, allocations: 373.1 kB / 1.827 GB, free: 7.777 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01944/2.798, allocations: 9.622 MB / 1.836 GB, free: 13.41 MB / 1.389 GB Notification: Performance of pre-optimization done (n=801): time 1.615e-05/2.798, allocations: 0 / 1.836 GB, free: 13.41 MB / 1.389 GB Notification: Performance of matching and sorting (n=801): time 0.0502/2.848, allocations: 16.41 MB / 1.852 GB, free: 12.96 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002711/2.849, allocations: 313.6 kB / 1.853 GB, free: 12.6 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02842/2.877, allocations: 11.65 MB / 1.864 GB, free: 0.9961 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.002549/2.88, allocations: 185.7 kB / 1.864 GB, free: 0.8086 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.01064/2.89, allocations: 6.905 MB / 1.871 GB, free: 9.895 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.005873/2.896, allocations: 2.886 MB / 1.874 GB, free: 7.047 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00613/2.902, allocations: 1.917 MB / 1.876 GB, free: 5.117 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001442/2.902, allocations: 305.1 kB / 1.876 GB, free: 4.816 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0146/2.917, allocations: 5.825 MB / 1.882 GB, free: 14.96 MB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01881/2.936, allocations: 8.564 MB / 1.89 GB, free: 5.375 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03239/2.968, allocations: 14.06 MB / 1.904 GB, free: 6.645 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.87e-05/2.968, allocations: 20.22 kB / 1.904 GB, free: 6.625 MB / 1.451 GB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.04428/3.013, allocations: 15.59 MB / 1.919 GB, free: 7.363 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/3.013, allocations: 115.3 kB / 1.919 GB, free: 7.238 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.753e-05/3.013, allocations: 64 kB / 1.919 GB, free: 7.176 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008128/3.014, allocations: 193.5 kB / 1.919 GB, free: 6.984 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01325/3.027, allocations: 2.344 MB / 1.922 GB, free: 4.777 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/3.03, allocations: 1.666 MB / 1.923 GB, free: 3.043 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01466/3.044, allocations: 1.319 MB / 1.925 GB, free: 1.719 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002644/3.047, allocations: 459.8 kB / 1.925 GB, free: 1.27 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02541/3.072, allocations: 10.43 MB / 1.935 GB, free: 6.809 MB / 1.483 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01781/3.09, allocations: 8.56 MB / 1.944 GB, free: 13.22 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03187/3.122, allocations: 14.05 MB / 1.957 GB, free: 14.5 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001109/3.122, allocations: 24 kB / 1.957 GB, free: 14.48 MB / 1.514 GB Notification: Performance of matching and sorting (n=1228) (initialization_lambda0): time 0.04719/3.169, allocations: 15.59 MB / 1.973 GB, free: 15.22 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001931/3.17, allocations: 107.4 kB / 1.973 GB, free: 15.1 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/3.17, allocations: 67.98 kB / 1.973 GB, free: 15.04 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008019/3.171, allocations: 192.6 kB / 1.973 GB, free: 14.85 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01377/3.184, allocations: 2.34 MB / 1.975 GB, free: 12.64 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/3.187, allocations: 1.662 MB / 1.977 GB, free: 10.91 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01554/3.202, allocations: 1.172 MB / 1.978 GB, free: 9.73 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003117/3.206, allocations: 455.8 kB / 1.978 GB, free: 9.285 MB / 1.529 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 29 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solCol1.HDirTil.incAng.decAng.tNext,$PRE.solCol1.HDirTil.incAng.decAng.tNext,solCol1.HDifTilIso.incAng.decAng.tNext,$PRE.solCol1.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 (1208): * Single equations (assignments): 1205 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005718/3.211, allocations: 0.786 MB / 1.979 GB, free: 8.629 MB / 1.529 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00717/3.218, allocations: 1.176 MB / 1.98 GB, free: 7.445 MB / 1.529 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04473/3.263, allocations: 14.01 MB / 1.994 GB, free: 9.387 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03276/3.296, allocations: 10.92 MB / 2.005 GB, free: 14.37 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.983e-05/3.296, allocations: 0 / 2.005 GB, free: 14.37 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01436/3.31, allocations: 2.971 MB / 2.008 GB, free: 11.39 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006944/3.317, allocations: 183 kB / 2.008 GB, free: 11.21 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01355/3.331, allocations: 0.6697 MB / 2.008 GB, free: 10.55 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002698/3.334, allocations: 0.5049 MB / 2.009 GB, free: 10.04 MB / 1.561 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04161/3.375, allocations: 12.8 MB / 2.021 GB, free: 13.33 MB / 1.576 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05279/3.428, allocations: 20.41 MB / 2.041 GB, free: 8.844 MB / 1.592 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01296/3.441, allocations: 5.497 MB / 2.047 GB, free: 3.328 MB / 1.592 GB Notification: Performance of sorting global known variables: time 0.01806/3.459, allocations: 8.054 MB / 2.055 GB, free: 11.33 MB / 1.608 GB Notification: Performance of Backend: time 6.81e-07/3.459, allocations: 0 / 2.055 GB, free: 11.33 MB / 1.608 GB Notification: Performance of simCode: created initialization part: time 0.05319/3.512, allocations: 16.87 MB / 2.071 GB, free: 11.25 MB / 1.623 GB Notification: Performance of SimCode: time 0.07791/3.59, allocations: 33.49 MB / 2.104 GB, free: 9.973 MB / 1.654 GB Notification: Performance of Templates: time 1.114/4.704, allocations: 347.5 MB / 2.443 GB, free: 0.6107 GB / 1.811 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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: 22.260537164998823]