Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 214.5 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 72.09 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.04277/0.3963, allocations: 35.47 MB / 1.362 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1894/0.5858, allocations: 142.2 MB / 1.501 GB, free: 14.7 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.5885, allocations: 83.31 kB / 1.501 GB, free: 14.62 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.5913, allocations: 0.8494 MB / 1.502 GB, free: 13.76 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.5974, allocations: 2.061 MB / 1.504 GB, free: 11.7 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006147/0.6035, allocations: 2.442 MB / 1.506 GB, free: 9.266 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01553/0.6191, allocations: 13.87 MB / 1.519 GB, free: 11.35 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007336/0.6264, allocations: 4.813 MB / 1.524 GB, free: 6.438 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01023/0.6366, allocations: 4.944 MB / 1.529 GB, free: 1.508 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007343/0.644, allocations: 4.19 MB / 1.533 GB, free: 13.3 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001791/0.6458, allocations: 0.6875 MB / 1.534 GB, free: 12.61 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005464/0.6512, allocations: 2.092 MB / 1.536 GB, free: 10.52 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.00202/0.6533, allocations: 1.76 MB / 1.538 GB, free: 8.754 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.004497/0.6577, allocations: 2.758 MB / 1.54 GB, free: 5.984 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.671, allocations: 10.11 MB / 1.55 GB, free: 11.84 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.671, allocations: 0 / 1.55 GB, free: 11.84 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.064e-06/0.671, allocations: 0 / 1.55 GB, free: 11.84 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0002201/0.6713, allocations: 0 / 1.55 GB, free: 11.84 MB / 1.248 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.01593/0.6872, allocations: 6.809 MB / 1.557 GB, free: 4.957 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6872, allocations: 12.03 kB / 1.557 GB, free: 4.945 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.6982, allocations: 1.6 MB / 1.558 GB, free: 3.34 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.7111, allocations: 5.12 MB / 1.563 GB, free: 14.15 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/0.7114, allocations: 312.2 kB / 1.564 GB, free: 13.84 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.7125, allocations: 412 kB / 1.564 GB, free: 13.44 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.7266, allocations: 7.082 MB / 1.571 GB, free: 5.906 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.961e-05/0.7267, allocations: 11.89 kB / 1.571 GB, free: 5.895 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005197/0.7272, allocations: 175.9 kB / 1.571 GB, free: 5.723 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.7274, allocations: 191.9 kB / 1.571 GB, free: 5.531 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.741, allocations: 5.878 MB / 1.577 GB, free: 15.63 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.03647/0.7775, allocations: 17.1 MB / 1.594 GB, free: 14.29 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.7887, allocations: 4.108 MB / 1.598 GB, free: 10.18 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004759/0.7934, allocations: 1.981 MB / 1.6 GB, free: 8.188 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.7947, allocations: 238.1 kB / 1.6 GB, free: 7.953 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005949/0.8006, allocations: 3.237 MB / 1.603 GB, free: 4.473 MB / 1.295 GB Notification: Performance of pre-optimization done (n=301): time 6.453e-06/0.8006, allocations: 0 / 1.603 GB, free: 4.473 MB / 1.295 GB Notification: Performance of matching and sorting (n=301): time 0.7193/1.52, allocations: 5.865 MB / 1.609 GB, free: 270.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/1.52, allocations: 242 kB / 1.609 GB, free: 270 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006424/1.527, allocations: 3.747 MB / 1.613 GB, free: 269.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0007877/1.527, allocations: 88.64 kB / 1.613 GB, free: 269.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002049/1.529, allocations: 2.216 MB / 1.615 GB, free: 268.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.531, allocations: 1.065 MB / 1.616 GB, free: 267.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/1.532, allocations: 0.6764 MB / 1.617 GB, free: 267.4 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.551e-05/1.532, allocations: 301.8 kB / 1.617 GB, free: 267.1 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004136/1.536, allocations: 2.023 MB / 1.619 GB, free: 266.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005118/1.541, allocations: 3.004 MB / 1.622 GB, free: 264.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009842/1.551, allocations: 4.627 MB / 1.626 GB, free: 262.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/1.551, allocations: 5.781 kB / 1.626 GB, free: 262.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01207/1.563, allocations: 5.392 MB / 1.632 GB, free: 260.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/1.563, allocations: 54.38 kB / 1.632 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/1.563, allocations: 16.69 kB / 1.632 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007041/1.564, allocations: 112.2 kB / 1.632 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/1.568, allocations: 0.8361 MB / 1.633 GB, free: 260.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/1.57, allocations: 2.134 MB / 1.635 GB, free: 258.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/1.575, allocations: 468 kB / 1.635 GB, free: 258 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005062/1.575, allocations: 163.4 kB / 1.635 GB, free: 258 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00671/1.582, allocations: 3.407 MB / 1.639 GB, free: 256.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004578/1.587, allocations: 3.007 MB / 1.642 GB, free: 254.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007778/1.594, allocations: 4.62 MB / 1.646 GB, free: 252.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.89e-05/1.595, allocations: 14.72 kB / 1.646 GB, free: 252.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=430) (initialization_lambda0): time 0.01015/1.605, allocations: 5.386 MB / 1.651 GB, free: 250.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/1.605, allocations: 55.84 kB / 1.651 GB, free: 250.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/1.605, allocations: 15.22 kB / 1.651 GB, free: 250.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/1.605, allocations: 113 kB / 1.651 GB, free: 250.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/1.609, allocations: 0.8218 MB / 1.652 GB, free: 250.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/1.611, allocations: 1.558 MB / 1.654 GB, free: 249.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/1.615, allocations: 427.5 kB / 1.654 GB, free: 249 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004897/1.616, allocations: 160.9 kB / 1.654 GB, free: 249 MB / 1.295 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 (419): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 1 * 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.001046/1.617, allocations: 397.2 kB / 1.655 GB, free: 248.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.618, allocations: 425.9 kB / 1.655 GB, free: 248.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009603/1.628, allocations: 4.991 MB / 1.66 GB, free: 243.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007258/1.635, allocations: 4.084 MB / 1.664 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.635, allocations: 2.875 kB / 1.664 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002888/1.638, allocations: 1.017 MB / 1.665 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0015/1.639, allocations: 78.19 kB / 1.665 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004054/1.643, allocations: 259.8 kB / 1.665 GB, free: 238.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004202/1.644, allocations: 210.1 kB / 1.666 GB, free: 238.2 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0101/1.654, allocations: 4.678 MB / 1.67 GB, free: 233.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01204/1.666, allocations: 7.326 MB / 1.677 GB, free: 226.1 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00333/1.669, allocations: 1.961 MB / 1.679 GB, free: 224.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003255/1.672, allocations: 2.594 MB / 1.682 GB, free: 221.6 MB / 1.295 GB Notification: Performance of Backend: time 6.41e-07/1.672, allocations: 0 / 1.682 GB, free: 221.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01584/1.688, allocations: 6.771 MB / 1.688 GB, free: 215.2 MB / 1.295 GB Notification: Performance of SimCode: time 0.01707/1.705, allocations: 10.9 MB / 1.699 GB, free: 204.4 MB / 1.295 GB Notification: Performance of Templates: time 0.142/1.847, allocations: 124.3 MB / 1.82 GB, free: 81.35 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Examples_Tubular.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.Examples.Tubular.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.286532967002131]