Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001858/0.001858, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.002028/0.002028, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.421/1.421, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.724/2.724, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 64.19 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2994, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.04259/0.342, allocations: 38.85 MB / 1.3 GB, free: 5.934 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1849/0.5269, allocations: 161.1 MB / 1.457 GB, free: 4.195 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.5295, allocations: 55.69 kB / 1.457 GB, free: 4.141 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.5319, allocations: 0.7598 MB / 1.458 GB, free: 3.375 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006574/0.5385, allocations: 2.081 MB / 1.46 GB, free: 1.285 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006234/0.5447, allocations: 2.259 MB / 1.462 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0163/0.561, allocations: 13.27 MB / 1.475 GB, free: 1.727 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00794/0.569, allocations: 5.488 MB / 1.481 GB, free: 12.14 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009186/0.5782, allocations: 4.665 MB / 1.485 GB, free: 7.492 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006819/0.585, allocations: 4.139 MB / 1.489 GB, free: 3.336 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001727/0.5867, allocations: 0.6758 MB / 1.49 GB, free: 2.66 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005441/0.5921, allocations: 1.99 MB / 1.492 GB, free: 0.668 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.002619/0.5948, allocations: 1.682 MB / 1.494 GB, free: 14.98 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.005323/0.6001, allocations: 3.282 MB / 1.497 GB, free: 11.68 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.6138, allocations: 9.573 MB / 1.506 GB, free: 2.078 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6138, allocations: 0 / 1.506 GB, free: 2.078 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6138, allocations: 0 / 1.506 GB, free: 2.078 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.000231/0.614, allocations: 0 / 1.506 GB, free: 2.078 MB / 1.217 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.01599/0.63, allocations: 6.536 MB / 1.512 GB, free: 11.45 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.63, allocations: 8.625 kB / 1.512 GB, free: 11.44 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009433/0.6395, allocations: 1.452 MB / 1.514 GB, free: 9.988 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.6509, allocations: 4.991 MB / 1.519 GB, free: 4.93 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/0.6512, allocations: 308.1 kB / 1.519 GB, free: 4.625 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/0.6527, allocations: 420 kB / 1.519 GB, free: 4.215 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.6668, allocations: 5.967 MB / 1.525 GB, free: 14.04 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.6669, allocations: 23.81 kB / 1.525 GB, free: 14.02 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005842/0.6675, allocations: 176 kB / 1.525 GB, free: 13.85 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.6677, allocations: 187.9 kB / 1.526 GB, free: 13.66 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.6813, allocations: 5.694 MB / 1.531 GB, free: 7.945 MB / 1.248 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.03578/0.7171, allocations: 21.47 MB / 1.552 GB, free: 1.59 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5838/1.301, allocations: 3.533 MB / 1.556 GB, free: 280.7 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004161/1.305, allocations: 1.82 MB / 1.557 GB, free: 280.1 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/1.307, allocations: 1.903 MB / 1.559 GB, free: 278.1 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006057/1.313, allocations: 2.244 MB / 1.561 GB, free: 277.3 MB / 1.264 GB Notification: Performance of pre-optimization done (n=283): time 1.125e-05/1.313, allocations: 3.625 kB / 1.561 GB, free: 277.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=283): time 0.01525/1.328, allocations: 5.442 MB / 1.567 GB, free: 275.5 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/1.328, allocations: 241.7 kB / 1.567 GB, free: 275.3 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006307/1.335, allocations: 3.897 MB / 1.571 GB, free: 273.9 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007303/1.335, allocations: 86.56 kB / 1.571 GB, free: 273.9 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001904/1.337, allocations: 2.131 MB / 1.573 GB, free: 272.7 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.339, allocations: 1.001 MB / 1.574 GB, free: 272 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/1.34, allocations: 0.6425 MB / 1.575 GB, free: 271.7 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.291e-05/1.34, allocations: 304.7 kB / 1.575 GB, free: 271.4 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003787/1.344, allocations: 1.683 MB / 1.577 GB, free: 270.8 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004197/1.348, allocations: 2.353 MB / 1.579 GB, free: 269.5 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007878/1.356, allocations: 4.077 MB / 1.583 GB, free: 267.5 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/1.356, allocations: 5.5 kB / 1.583 GB, free: 267.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01089/1.367, allocations: 4.675 MB / 1.587 GB, free: 265.7 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/1.367, allocations: 11.88 kB / 1.587 GB, free: 265.7 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/1.367, allocations: 20.41 kB / 1.587 GB, free: 265.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000575/1.367, allocations: 111.4 kB / 1.588 GB, free: 265.7 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/1.371, allocations: 0.8202 MB / 1.588 GB, free: 265.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/1.373, allocations: 2.267 MB / 1.591 GB, free: 263.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004522/1.378, allocations: 491 kB / 1.591 GB, free: 263.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00055/1.378, allocations: 156.8 kB / 1.591 GB, free: 263.3 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005871/1.384, allocations: 3.008 MB / 1.594 GB, free: 262.1 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004011/1.388, allocations: 2.348 MB / 1.596 GB, free: 260.8 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007528/1.395, allocations: 4.081 MB / 1.6 GB, free: 258.7 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.785e-05/1.395, allocations: 3.875 kB / 1.6 GB, free: 258.7 MB / 1.264 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01128/1.407, allocations: 4.678 MB / 1.605 GB, free: 255.5 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/1.407, allocations: 13.41 kB / 1.605 GB, free: 255.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.407, allocations: 16 kB / 1.605 GB, free: 255.4 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/1.407, allocations: 113.5 kB / 1.605 GB, free: 255.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/1.411, allocations: 0.8035 MB / 1.606 GB, free: 254.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/1.413, allocations: 1.689 MB / 1.608 GB, free: 252.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004328/1.417, allocations: 413.1 kB / 1.608 GB, free: 252.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005234/1.418, allocations: 157.9 kB / 1.608 GB, free: 252.2 MB / 1.264 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.001089/1.419, allocations: 382.8 kB / 1.608 GB, free: 251.8 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/1.421, allocations: 421.3 kB / 1.609 GB, free: 251.4 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.431, allocations: 4.629 MB / 1.613 GB, free: 246.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007425/1.439, allocations: 3.728 MB / 1.617 GB, free: 243 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.439, allocations: 4 kB / 1.617 GB, free: 242.9 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/1.441, allocations: 1.057 MB / 1.618 GB, free: 241.9 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007677/1.442, allocations: 73.91 kB / 1.618 GB, free: 241.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/1.445, allocations: 255 kB / 1.618 GB, free: 241.6 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003581/1.446, allocations: 194.1 kB / 1.619 GB, free: 241.4 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009596/1.455, allocations: 4.326 MB / 1.623 GB, free: 237.1 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01166/1.467, allocations: 6.706 MB / 1.629 GB, free: 230.3 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003185/1.47, allocations: 1.779 MB / 1.631 GB, free: 228.5 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00335/1.473, allocations: 2.746 MB / 1.634 GB, free: 225.8 MB / 1.264 GB Notification: Performance of Backend: time 5.41e-07/1.473, allocations: 2.078 kB / 1.634 GB, free: 225.8 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0139/1.487, allocations: 5.72 MB / 1.639 GB, free: 220.4 MB / 1.264 GB Notification: Performance of SimCode: time 0.01781/1.505, allocations: 10.87 MB / 1.65 GB, free: 209.6 MB / 1.264 GB Notification: Performance of Templates: time 0.1533/1.658, allocations: 112.7 MB / 1.76 GB, free: 97.72 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Examples_Tubular.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Examples.Tubular.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches