Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|shaCoe.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|shaCoe.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 116.4 kB / 16.42 MB, free: 6.48 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.001807/0.001807, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.434/2.434, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.88 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7077/0.7091, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.03561/0.7447, allocations: 38.61 MB / 1.205 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.9056, allocations: 160.6 MB / 1.362 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.9084, allocations: 59.62 kB / 1.362 GB, free: 11.82 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.9105, allocations: 0.752 MB / 1.363 GB, free: 11.07 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005445/0.916, allocations: 2.079 MB / 1.365 GB, free: 8.98 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00505/0.921, allocations: 2.235 MB / 1.367 GB, free: 6.758 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01308/0.9341, allocations: 13.25 MB / 1.38 GB, free: 9.477 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007904/0.9421, allocations: 6.624 MB / 1.386 GB, free: 2.754 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008618/0.9507, allocations: 4.628 MB / 1.391 GB, free: 14.12 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0076/0.9583, allocations: 3.992 MB / 1.395 GB, free: 10.12 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002048/0.9604, allocations: 0.6758 MB / 1.395 GB, free: 9.441 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005268/0.9657, allocations: 1.971 MB / 1.397 GB, free: 7.469 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002421/0.9681, allocations: 1.632 MB / 1.399 GB, free: 5.832 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005447/0.9736, allocations: 3.286 MB / 1.402 GB, free: 2.531 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.9858, allocations: 9.573 MB / 1.411 GB, free: 8.926 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.9858, allocations: 4 kB / 1.411 GB, free: 8.922 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9858, allocations: 4 kB / 1.411 GB, free: 8.918 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002755/0.9861, allocations: 0 / 1.411 GB, free: 8.918 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1070 * Number of variables: 1070 Notification: Performance of Generate backend data structure: time 0.0154/1.002, allocations: 6.523 MB / 1.418 GB, free: 2.305 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.002, allocations: 8.031 kB / 1.418 GB, free: 2.297 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009321/1.011, allocations: 1.452 MB / 1.419 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.022, allocations: 4.983 MB / 1.424 GB, free: 11.79 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/1.022, allocations: 308.2 kB / 1.424 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/1.024, allocations: 419.9 kB / 1.425 GB, free: 11.08 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/1.038, allocations: 5.97 MB / 1.431 GB, free: 4.902 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/1.038, allocations: 7.938 kB / 1.431 GB, free: 4.895 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008934/1.039, allocations: 183.9 kB / 1.431 GB, free: 4.715 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/1.039, allocations: 195.9 kB / 1.431 GB, free: 4.52 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/1.053, allocations: 5.706 MB / 1.437 GB, free: 14.79 MB / 1.17 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.03368/1.086, allocations: 21.21 MB / 1.457 GB, free: 8.746 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008106/1.094, allocations: 3.713 MB / 1.461 GB, free: 5.027 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004219/1.099, allocations: 1.978 MB / 1.463 GB, free: 3.043 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002332/1.101, allocations: 1.904 MB / 1.465 GB, free: 0.75 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004994/1.106, allocations: 2.247 MB / 1.467 GB, free: 14.45 MB / 1.201 GB Notification: Performance of pre-optimization done (n=282): time 7.574e-06/1.106, allocations: 3.984 kB / 1.467 GB, free: 14.45 MB / 1.201 GB Notification: Performance of matching and sorting (n=282): time 0.01467/1.121, allocations: 5.44 MB / 1.472 GB, free: 8.934 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.121, allocations: 235.8 kB / 1.472 GB, free: 8.652 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006726/1.128, allocations: 3.92 MB / 1.476 GB, free: 4.707 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005793/1.128, allocations: 97.62 kB / 1.476 GB, free: 4.605 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00208/1.13, allocations: 2.133 MB / 1.478 GB, free: 2.461 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.132, allocations: 0.9994 MB / 1.479 GB, free: 1.453 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/1.133, allocations: 0.6435 MB / 1.48 GB, free: 0.8008 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/1.133, allocations: 309.1 kB / 1.48 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/1.137, allocations: 1.683 MB / 1.482 GB, free: 14.8 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004532/1.142, allocations: 2.355 MB / 1.484 GB, free: 12.19 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008525/1.15, allocations: 4.094 MB / 1.488 GB, free: 7.828 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/1.15, allocations: 4 kB / 1.488 GB, free: 7.824 MB / 1.217 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.01181/1.162, allocations: 4.687 MB / 1.493 GB, free: 3.094 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/1.162, allocations: 13.41 kB / 1.493 GB, free: 3.082 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/1.162, allocations: 20 kB / 1.493 GB, free: 3.062 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006712/1.163, allocations: 113.4 kB / 1.493 GB, free: 2.949 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/1.167, allocations: 0.8073 MB / 1.494 GB, free: 2.141 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/1.169, allocations: 1.681 MB / 1.495 GB, free: 316 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/1.173, allocations: 493.2 kB / 1.496 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004325/1.174, allocations: 163.9 kB / 1.496 GB, free: 15.66 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006058/1.18, allocations: 3.004 MB / 1.499 GB, free: 12.65 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004495/1.184, allocations: 2.359 MB / 1.501 GB, free: 10.04 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008424/1.193, allocations: 4.082 MB / 1.505 GB, free: 5.691 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-05/1.193, allocations: 8 kB / 1.505 GB, free: 5.684 MB / 1.232 GB Notification: Performance of matching and sorting (n=403) (initialization_lambda0): time 0.01142/1.204, allocations: 4.691 MB / 1.51 GB, free: 0.9531 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.204, allocations: 13.88 kB / 1.51 GB, free: 0.9414 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/1.204, allocations: 16 kB / 1.51 GB, free: 0.9258 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/1.205, allocations: 121.4 kB / 1.51 GB, free: 0.8047 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003887/1.209, allocations: 0.8073 MB / 1.511 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/1.211, allocations: 1.678 MB / 1.512 GB, free: 14.18 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/1.215, allocations: 414 kB / 1.513 GB, free: 13.77 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004704/1.216, allocations: 159.9 kB / 1.513 GB, free: 13.61 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 400 * 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.0009453/1.216, allocations: 390.2 kB / 1.513 GB, free: 13.22 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.218, allocations: 429.3 kB / 1.514 GB, free: 12.8 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.229, allocations: 4.716 MB / 1.518 GB, free: 8.023 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00831/1.238, allocations: 3.718 MB / 1.522 GB, free: 4.219 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.238, allocations: 4 kB / 1.522 GB, free: 4.215 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/1.24, allocations: 1.056 MB / 1.523 GB, free: 3.137 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009768/1.241, allocations: 75.83 kB / 1.523 GB, free: 3.062 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003503/1.245, allocations: 263.7 kB / 1.523 GB, free: 2.805 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/1.245, allocations: 190.1 kB / 1.524 GB, free: 2.617 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01151/1.256, allocations: 4.304 MB / 1.528 GB, free: 14.27 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01384/1.27, allocations: 6.688 MB / 1.534 GB, free: 7.504 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003783/1.274, allocations: 1.928 MB / 1.536 GB, free: 5.562 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.004766/1.279, allocations: 2.766 MB / 1.539 GB, free: 2.785 MB / 1.264 GB Notification: Performance of Backend: time 5.71e-07/1.279, allocations: 3.938 kB / 1.539 GB, free: 2.781 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01553/1.294, allocations: 6.039 MB / 1.545 GB, free: 12.9 MB / 1.279 GB Notification: Performance of SimCode: time 0.01966/1.314, allocations: 10.84 MB / 1.555 GB, free: 2.059 MB / 1.279 GB Notification: Performance of Templates: time 0.6599/1.974, allocations: 111.1 MB / 1.664 GB, free: 282.3 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches