Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 110.4 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.418/2.418, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 64.09 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7125, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.05835/0.7709, allocations: 65.2 MB / 1.231 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.9488, allocations: 168.9 MB / 1.396 GB, free: 8.934 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004594/0.9534, allocations: 91.5 kB / 1.396 GB, free: 8.844 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003994/0.9575, allocations: 1.225 MB / 1.397 GB, free: 7.609 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.9678, allocations: 3.308 MB / 1.4 GB, free: 4.289 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.008308/0.9761, allocations: 3.238 MB / 1.404 GB, free: 1.066 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.04125/1.017, allocations: 43.8 MB / 1.446 GB, free: 5.16 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02676/1.044, allocations: 21.72 MB / 1.468 GB, free: 15.28 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0269/1.071, allocations: 14.82 MB / 1.482 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01965/1.091, allocations: 12.61 MB / 1.494 GB, free: 3.863 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.006356/1.097, allocations: 1.992 MB / 1.496 GB, free: 1.871 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.013/1.11, allocations: 3.704 MB / 1.5 GB, free: 14.16 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.008587/1.119, allocations: 4.865 MB / 1.505 GB, free: 9.285 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.01922/1.138, allocations: 9.861 MB / 1.514 GB, free: 15.38 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.03461/1.173, allocations: 27.91 MB / 1.542 GB, free: 3.395 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/1.173, allocations: 4 kB / 1.542 GB, free: 3.391 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.633e-06/1.173, allocations: 0 / 1.542 GB, free: 3.391 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.000896/1.174, allocations: 0 / 1.542 GB, free: 3.391 MB / 1.264 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.05456/1.228, allocations: 18.31 MB / 1.559 GB, free: 0.9336 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.455e-05/1.228, allocations: 12.86 kB / 1.559 GB, free: 0.9219 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.24/2.469, allocations: 3.357 MB / 1.563 GB, free: 364.5 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03229/2.501, allocations: 15.95 MB / 1.578 GB, free: 357.8 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007228/2.502, allocations: 0.8725 MB / 1.579 GB, free: 357.4 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004337/2.506, allocations: 1.172 MB / 1.58 GB, free: 357 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04081/2.547, allocations: 18.41 MB / 1.598 GB, free: 339.4 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003802/2.547, allocations: 39.66 kB / 1.598 GB, free: 339.3 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003356/2.551, allocations: 0.5066 MB / 1.599 GB, free: 338.8 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004191/2.551, allocations: 0.5808 MB / 1.599 GB, free: 338.3 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03577/2.587, allocations: 16.49 MB / 1.615 GB, free: 321.7 MB / 1.279 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.1046/2.691, allocations: 67.63 MB / 1.681 GB, free: 251.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02076/2.712, allocations: 10.67 MB / 1.692 GB, free: 241.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01121/2.723, allocations: 5.822 MB / 1.698 GB, free: 235.4 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002663/2.726, allocations: 2.432 MB / 1.7 GB, free: 232.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01367/2.74, allocations: 6.096 MB / 1.706 GB, free: 226.3 MB / 1.279 GB Notification: Performance of pre-optimization done (n=729): time 1.371e-05/2.74, allocations: 0 / 1.706 GB, free: 226.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=729): time 0.03709/2.777, allocations: 14.63 MB / 1.72 GB, free: 211.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/2.777, allocations: 317 kB / 1.721 GB, free: 211.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02418/2.801, allocations: 12.22 MB / 1.732 GB, free: 199.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002321/2.804, allocations: 185.7 kB / 1.733 GB, free: 198.9 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.007885/2.812, allocations: 6.505 MB / 1.739 GB, free: 192.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.004327/2.816, allocations: 2.515 MB / 1.741 GB, free: 189.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00631/2.822, allocations: 1.797 MB / 1.743 GB, free: 188 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.88e-05/2.822, allocations: 305.1 kB / 1.743 GB, free: 187.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01048/2.833, allocations: 4.892 MB / 1.748 GB, free: 182.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01189/2.845, allocations: 7.151 MB / 1.755 GB, free: 174.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02214/2.867, allocations: 12.41 MB / 1.767 GB, free: 161.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.863e-05/2.867, allocations: 20 kB / 1.767 GB, free: 161.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=1136) (initialization): time 0.03418/2.901, allocations: 13.56 MB / 1.781 GB, free: 147.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/2.901, allocations: 36.17 kB / 1.781 GB, free: 147.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.313e-05/2.902, allocations: 68 kB / 1.781 GB, free: 147.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000726/2.902, allocations: 184.7 kB / 1.781 GB, free: 147.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/2.913, allocations: 2.258 MB / 1.783 GB, free: 145.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/2.915, allocations: 1.795 MB / 1.785 GB, free: 143.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01452/2.93, allocations: 1.365 MB / 1.786 GB, free: 141.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002075/2.932, allocations: 439.8 kB / 1.787 GB, free: 141.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01929/2.951, allocations: 9.327 MB / 1.796 GB, free: 132.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01393/2.965, allocations: 7.143 MB / 1.803 GB, free: 124 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02505/2.99, allocations: 12.4 MB / 1.815 GB, free: 110.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.791e-05/2.99, allocations: 20 kB / 1.815 GB, free: 110.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=1136) (initialization_lambda0): time 0.03412/3.025, allocations: 13.56 MB / 1.828 GB, free: 97 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.81e-05/3.025, allocations: 32 kB / 1.828 GB, free: 96.96 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.603e-05/3.025, allocations: 67.98 kB / 1.828 GB, free: 96.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006614/3.025, allocations: 189.4 kB / 1.828 GB, free: 96.71 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/3.036, allocations: 2.25 MB / 1.831 GB, free: 94.46 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/3.038, allocations: 1.783 MB / 1.832 GB, free: 92.53 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01354/3.052, allocations: 1.106 MB / 1.833 GB, free: 91.42 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/3.054, allocations: 439.8 kB / 1.834 GB, free: 90.99 MB / 1.279 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 (1134): * Single equations (assignments): 1133 * Array equations: 0 * Algorithm blocks: 0 * 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.003795/3.058, allocations: 0.7553 MB / 1.835 GB, free: 90.22 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004737/3.063, allocations: 1.15 MB / 1.836 GB, free: 89.06 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03048/3.093, allocations: 12.6 MB / 1.848 GB, free: 76.38 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02147/3.115, allocations: 9.669 MB / 1.857 GB, free: 66.59 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-05/3.115, allocations: 0 / 1.857 GB, free: 66.59 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00878/3.123, allocations: 2.848 MB / 1.86 GB, free: 63.71 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0045/3.128, allocations: 175.8 kB / 1.86 GB, free: 63.54 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01187/3.14, allocations: 0.655 MB / 1.861 GB, free: 62.88 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00169/3.142, allocations: 449.3 kB / 1.861 GB, free: 62.44 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03135/3.173, allocations: 11.54 MB / 1.873 GB, free: 50.84 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03983/3.213, allocations: 18.08 MB / 1.89 GB, free: 32.65 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01034/3.223, allocations: 5.243 MB / 1.895 GB, free: 27.39 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01604/3.239, allocations: 8.631 MB / 1.904 GB, free: 18.79 MB / 1.279 GB Notification: Performance of Backend: time 1.713e-06/3.239, allocations: 0 / 1.904 GB, free: 18.79 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.04336/3.283, allocations: 15.19 MB / 1.919 GB, free: 3.891 MB / 1.279 GB Notification: Performance of SimCode: time 0.08248/3.365, allocations: 32.96 MB / 1.951 GB, free: 3.062 MB / 1.311 GB Notification: Performance of Templates: time 1.487/4.853, allocations: 316 MB / 2.26 GB, free: 400.8 MB / 1.467 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches