Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001528/0.001528, allocations: 117.6 kB / 16.42 MB, free: 6.012 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.001563/0.001563, allocations: 188.9 kB / 17.35 MB, free: 5.625 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.395/1.395, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.5/2.5, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.89 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7093/0.7107, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.03765/0.7484, allocations: 38.58 MB / 1.246 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1619/0.9104, allocations: 160.6 MB / 1.403 GB, free: 5.719 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.9129, allocations: 59.69 kB / 1.403 GB, free: 5.66 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.9153, allocations: 0.7343 MB / 1.404 GB, free: 4.922 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00605/0.9214, allocations: 2.008 MB / 1.406 GB, free: 2.91 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005682/0.9271, allocations: 2.231 MB / 1.408 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01468/0.9418, allocations: 13.25 MB / 1.421 GB, free: 3.406 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009209/0.951, allocations: 6.616 MB / 1.427 GB, free: 12.69 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009522/0.9606, allocations: 4.641 MB / 1.432 GB, free: 8.062 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006544/0.9672, allocations: 3.991 MB / 1.436 GB, free: 4.055 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.00214/0.9693, allocations: 0.6758 MB / 1.436 GB, free: 3.379 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005261/0.9746, allocations: 1.982 MB / 1.438 GB, free: 1.395 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002416/0.977, allocations: 1.632 MB / 1.44 GB, free: 15.76 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.005569/0.9826, allocations: 3.286 MB / 1.443 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.9948, allocations: 9.531 MB / 1.452 GB, free: 2.898 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9948, allocations: 0 / 1.452 GB, free: 2.898 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9948, allocations: 0 / 1.452 GB, free: 2.898 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0003147/0.9952, allocations: 0 / 1.452 GB, free: 2.898 MB / 1.17 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.01771/1.013, allocations: 6.362 MB / 1.459 GB, free: 12.45 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.013, allocations: 12.03 kB / 1.459 GB, free: 12.44 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00923/1.022, allocations: 1.418 MB / 1.46 GB, free: 11.02 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/1.034, allocations: 4.97 MB / 1.465 GB, free: 5.977 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004078/1.035, allocations: 312.1 kB / 1.465 GB, free: 5.668 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/1.037, allocations: 411.9 kB / 1.466 GB, free: 5.266 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/1.052, allocations: 5.975 MB / 1.471 GB, free: 15.08 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001534/1.052, allocations: 11.84 kB / 1.471 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001035/1.053, allocations: 176 kB / 1.472 GB, free: 14.9 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/1.054, allocations: 191.9 kB / 1.472 GB, free: 14.71 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/1.067, allocations: 5.69 MB / 1.477 GB, free: 8.996 MB / 1.201 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.0356/1.103, allocations: 21.43 MB / 1.498 GB, free: 2.68 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007994/1.111, allocations: 3.751 MB / 1.502 GB, free: 14.92 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004135/1.115, allocations: 1.985 MB / 1.504 GB, free: 12.93 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002399/1.117, allocations: 1.904 MB / 1.506 GB, free: 10.63 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005203/1.123, allocations: 2.248 MB / 1.508 GB, free: 8.336 MB / 1.232 GB Notification: Performance of pre-optimization done (n=283): time 6.783e-06/1.123, allocations: 0 / 1.508 GB, free: 8.336 MB / 1.232 GB Notification: Performance of matching and sorting (n=283): time 0.01508/1.138, allocations: 5.423 MB / 1.513 GB, free: 2.84 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.138, allocations: 235.9 kB / 1.513 GB, free: 2.559 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007289/1.145, allocations: 3.907 MB / 1.517 GB, free: 14.62 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005935/1.146, allocations: 85.7 kB / 1.517 GB, free: 14.54 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002232/1.148, allocations: 2.085 MB / 1.519 GB, free: 12.43 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.149, allocations: 0.9474 MB / 1.52 GB, free: 11.47 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/1.151, allocations: 0.647 MB / 1.521 GB, free: 10.81 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 8.579e-05/1.151, allocations: 305.1 kB / 1.521 GB, free: 10.51 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004002/1.155, allocations: 1.683 MB / 1.523 GB, free: 8.82 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004469/1.16, allocations: 2.346 MB / 1.525 GB, free: 6.227 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00838/1.168, allocations: 4.077 MB / 1.529 GB, free: 1.883 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/1.168, allocations: 4 kB / 1.529 GB, free: 1.879 MB / 1.248 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01138/1.18, allocations: 4.662 MB / 1.534 GB, free: 13.17 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/1.18, allocations: 16.03 kB / 1.534 GB, free: 13.16 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/1.18, allocations: 20 kB / 1.534 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006647/1.18, allocations: 112.8 kB / 1.534 GB, free: 13.02 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/1.184, allocations: 0.8034 MB / 1.535 GB, free: 12.22 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/1.187, allocations: 2.283 MB / 1.537 GB, free: 9.77 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/1.191, allocations: 476.3 kB / 1.537 GB, free: 9.301 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004517/1.192, allocations: 155.9 kB / 1.537 GB, free: 9.148 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00627/1.198, allocations: 3.008 MB / 1.54 GB, free: 6.133 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004569/1.203, allocations: 2.346 MB / 1.543 GB, free: 3.531 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008297/1.211, allocations: 4.077 MB / 1.547 GB, free: 15.19 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-05/1.211, allocations: 8 kB / 1.547 GB, free: 15.18 MB / 1.279 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01093/1.222, allocations: 4.661 MB / 1.551 GB, free: 10.47 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.222, allocations: 12.94 kB / 1.551 GB, free: 10.46 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/1.222, allocations: 16 kB / 1.551 GB, free: 10.45 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/1.223, allocations: 112.8 kB / 1.551 GB, free: 10.33 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/1.227, allocations: 0.7956 MB / 1.552 GB, free: 9.535 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/1.229, allocations: 1.693 MB / 1.554 GB, free: 7.695 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/1.233, allocations: 405.5 kB / 1.554 GB, free: 7.297 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004047/1.233, allocations: 155.9 kB / 1.554 GB, free: 7.145 MB / 1.279 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.0009344/1.234, allocations: 390.1 kB / 1.555 GB, free: 6.758 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.236, allocations: 415 kB / 1.555 GB, free: 6.348 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.247, allocations: 4.602 MB / 1.56 GB, free: 1.688 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6306/1.877, allocations: 3.728 MB / 1.563 GB, free: 338.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/1.877, allocations: 0.7031 kB / 1.563 GB, free: 338.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/1.88, allocations: 1.041 MB / 1.564 GB, free: 338.4 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009493/1.881, allocations: 68.41 kB / 1.564 GB, free: 338.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003685/1.885, allocations: 257.9 kB / 1.565 GB, free: 338.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005658/1.885, allocations: 197.6 kB / 1.565 GB, free: 338.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01154/1.897, allocations: 4.329 MB / 1.569 GB, free: 336.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01344/1.91, allocations: 6.68 MB / 1.575 GB, free: 334.4 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003731/1.914, allocations: 1.927 MB / 1.577 GB, free: 333.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005079/1.919, allocations: 2.75 MB / 1.58 GB, free: 332.7 MB / 1.279 GB Notification: Performance of Backend: time 7.52e-07/1.919, allocations: 0 / 1.58 GB, free: 332.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01517/1.934, allocations: 6.025 MB / 1.586 GB, free: 330.8 MB / 1.279 GB Notification: Performance of SimCode: time 0.0186/1.953, allocations: 10.67 MB / 1.596 GB, free: 324.1 MB / 1.279 GB Notification: Performance of Templates: time 0.1411/2.094, allocations: 112.5 MB / 1.706 GB, free: 213 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_Tubular.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches