Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Tubular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.002361/0.002361, allocations: 192.3 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.12 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.443/2.443, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 64.11 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8323, allocations: 151.6 MB / 1.167 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.0401/0.8724, allocations: 38.62 MB / 1.205 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1884/1.061, allocations: 160.6 MB / 1.362 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/1.064, allocations: 59.62 kB / 1.362 GB, free: 11.93 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002716/1.067, allocations: 0.7481 MB / 1.363 GB, free: 11.17 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00689/1.074, allocations: 2.08 MB / 1.365 GB, free: 9.086 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006205/1.08, allocations: 2.244 MB / 1.367 GB, free: 6.855 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01644/1.097, allocations: 13.27 MB / 1.38 GB, free: 9.551 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/1.107, allocations: 6.616 MB / 1.386 GB, free: 2.836 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/1.118, allocations: 4.646 MB / 1.391 GB, free: 14.2 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007552/1.125, allocations: 3.988 MB / 1.395 GB, free: 10.2 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0026/1.128, allocations: 0.6758 MB / 1.395 GB, free: 9.523 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006176/1.134, allocations: 1.982 MB / 1.397 GB, free: 7.539 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002879/1.137, allocations: 1.628 MB / 1.399 GB, free: 5.906 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.006597/1.143, allocations: 3.286 MB / 1.402 GB, free: 2.605 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01409/1.158, allocations: 9.535 MB / 1.411 GB, free: 9.039 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.158, allocations: 0 / 1.411 GB, free: 9.039 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.924e-06/1.158, allocations: 4 kB / 1.411 GB, free: 9.035 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003392/1.158, allocations: 0 / 1.411 GB, free: 9.035 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: 1069 * Number of variables: 1069 Notification: Performance of Generate backend data structure: time 0.01874/1.177, allocations: 6.348 MB / 1.418 GB, free: 2.609 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.177, allocations: 12.02 kB / 1.418 GB, free: 2.598 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009647/1.186, allocations: 1.422 MB / 1.419 GB, free: 1.168 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/1.199, allocations: 4.961 MB / 1.424 GB, free: 12.14 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/1.199, allocations: 312.2 kB / 1.424 GB, free: 11.83 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/1.2, allocations: 407.9 kB / 1.425 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01518/1.216, allocations: 5.982 MB / 1.43 GB, free: 5.238 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/1.216, allocations: 7.938 kB / 1.43 GB, free: 5.23 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/1.217, allocations: 180 kB / 1.431 GB, free: 5.055 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001813/1.217, allocations: 188 kB / 1.431 GB, free: 4.867 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/1.23, allocations: 5.69 MB / 1.436 GB, free: 15.16 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.03429/1.265, allocations: 21.44 MB / 1.457 GB, free: 8.82 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007927/1.273, allocations: 3.755 MB / 1.461 GB, free: 5.059 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004087/1.277, allocations: 1.986 MB / 1.463 GB, free: 3.066 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002382/1.279, allocations: 1.9 MB / 1.465 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004919/1.284, allocations: 2.248 MB / 1.467 GB, free: 14.48 MB / 1.201 GB Notification: Performance of pre-optimization done (n=283): time 6.422e-06/1.284, allocations: 0 / 1.467 GB, free: 14.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=283): time 0.01429/1.298, allocations: 5.419 MB / 1.472 GB, free: 8.984 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.299, allocations: 247.8 kB / 1.472 GB, free: 8.691 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007335/1.306, allocations: 3.899 MB / 1.476 GB, free: 4.766 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0007274/1.307, allocations: 81.7 kB / 1.476 GB, free: 4.68 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002329/1.309, allocations: 2.093 MB / 1.478 GB, free: 2.57 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.31, allocations: 0.9513 MB / 1.479 GB, free: 1.605 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001818/1.312, allocations: 0.6392 MB / 1.48 GB, free: 0.957 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/1.312, allocations: 309.1 kB / 1.48 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004147/1.316, allocations: 1.679 MB / 1.482 GB, free: 14.96 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004694/1.321, allocations: 2.346 MB / 1.484 GB, free: 12.37 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00879/1.33, allocations: 4.077 MB / 1.488 GB, free: 8.023 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/1.33, allocations: 8 kB / 1.488 GB, free: 8.016 MB / 1.217 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01174/1.342, allocations: 4.657 MB / 1.493 GB, free: 3.312 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/1.342, allocations: 12 kB / 1.493 GB, free: 3.301 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/1.342, allocations: 16 kB / 1.493 GB, free: 3.285 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/1.343, allocations: 113.1 kB / 1.493 GB, free: 3.172 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/1.347, allocations: 0.8112 MB / 1.494 GB, free: 2.359 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/1.349, allocations: 2.283 MB / 1.496 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004476/1.354, allocations: 480.3 kB / 1.496 GB, free: 15.43 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000437/1.354, allocations: 155.9 kB / 1.496 GB, free: 15.28 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006254/1.36, allocations: 3.012 MB / 1.499 GB, free: 12.26 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004608/1.365, allocations: 2.346 MB / 1.502 GB, free: 9.664 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008339/1.373, allocations: 4.069 MB / 1.506 GB, free: 5.328 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.797e-05/1.373, allocations: 4 kB / 1.506 GB, free: 5.324 MB / 1.232 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01113/1.385, allocations: 4.658 MB / 1.51 GB, free: 0.6211 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.385, allocations: 12 kB / 1.51 GB, free: 0.6094 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/1.385, allocations: 23.92 kB / 1.51 GB, free: 0.5859 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/1.385, allocations: 112.8 kB / 1.51 GB, free: 484 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/1.389, allocations: 0.8034 MB / 1.511 GB, free: 15.67 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/1.391, allocations: 1.687 MB / 1.513 GB, free: 13.84 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004724/1.396, allocations: 411.5 kB / 1.513 GB, free: 13.44 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004046/1.396, allocations: 155.8 kB / 1.513 GB, free: 13.29 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (400): * Single equations (assignments): 398 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0009938/1.397, allocations: 388.2 kB / 1.514 GB, free: 12.9 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/1.399, allocations: 407 kB / 1.514 GB, free: 12.5 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.41, allocations: 4.618 MB / 1.519 GB, free: 7.824 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008279/1.419, allocations: 3.726 MB / 1.522 GB, free: 4.012 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/1.419, allocations: 4 kB / 1.522 GB, free: 4.008 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002877/1.421, allocations: 1.038 MB / 1.523 GB, free: 2.945 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.423, allocations: 63.94 kB / 1.523 GB, free: 2.883 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003987/1.427, allocations: 263.6 kB / 1.524 GB, free: 2.625 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/1.427, allocations: 194.1 kB / 1.524 GB, free: 2.434 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01148/1.439, allocations: 4.329 MB / 1.528 GB, free: 14.05 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01387/1.452, allocations: 6.69 MB / 1.535 GB, free: 7.289 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003826/1.456, allocations: 1.918 MB / 1.536 GB, free: 5.359 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00508/1.461, allocations: 2.754 MB / 1.539 GB, free: 2.594 MB / 1.264 GB Notification: Performance of Backend: time 6.51e-07/1.461, allocations: 0 / 1.539 GB, free: 2.594 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01729/1.479, allocations: 6.028 MB / 1.545 GB, free: 12.73 MB / 1.279 GB Notification: Performance of SimCode: time 0.02244/1.501, allocations: 10.67 MB / 1.555 GB, free: 2.062 MB / 1.279 GB Notification: Performance of Templates: time 0.7047/2.206, allocations: 110.5 MB / 1.663 GB, free: 283.1 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Examples_Tubular.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Tubular.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches