Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001397/0.001397, allocations: 113.7 kB / 16.42 MB, free: 6.449 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.001634/0.001635, allocations: 185.7 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.288/1.288, 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 9.1.3-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 68.12 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.702/0.7032, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.03795/0.7412, allocations: 37.12 MB / 1.125 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.9116, allocations: 160.4 MB / 1.282 GB, free: 8.047 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002844/0.9145, allocations: 55.69 kB / 1.282 GB, free: 7.992 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.9164, allocations: 0.7074 MB / 1.282 GB, free: 7.281 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005638/0.9221, allocations: 1.949 MB / 1.284 GB, free: 5.328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005313/0.9275, allocations: 2.236 MB / 1.286 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0121/0.9396, allocations: 13.01 MB / 1.299 GB, free: 6.062 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007415/0.947, allocations: 6.635 MB / 1.306 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008352/0.9554, allocations: 4.609 MB / 1.31 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006008/0.9614, allocations: 3.952 MB / 1.314 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.963, allocations: 0.6719 MB / 1.315 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/0.9679, allocations: 1.974 MB / 1.317 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001897/0.9698, allocations: 1.628 MB / 1.318 GB, free: 2.496 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004326/0.9741, allocations: 3.228 MB / 1.321 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009862/0.984, allocations: 9.465 MB / 1.33 GB, free: 5.762 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.984, allocations: 0 / 1.33 GB, free: 5.762 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.293e-06/0.984, allocations: 0 / 1.33 GB, free: 5.762 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001567/0.9842, allocations: 4 kB / 1.33 GB, free: 5.758 MB / 1.061 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.01248/0.9967, allocations: 6.316 MB / 1.337 GB, free: 15.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.9968, allocations: 8.031 kB / 1.337 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008492/1.005, allocations: 1.422 MB / 1.338 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009706/1.015, allocations: 4.961 MB / 1.343 GB, free: 8.891 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/1.015, allocations: 316.2 kB / 1.343 GB, free: 8.578 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008937/1.016, allocations: 407.9 kB / 1.344 GB, free: 8.18 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/1.027, allocations: 5.971 MB / 1.349 GB, free: 2.004 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.378e-05/1.028, allocations: 7.938 kB / 1.349 GB, free: 1.996 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004575/1.028, allocations: 176 kB / 1.35 GB, free: 1.824 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/1.028, allocations: 195.9 kB / 1.35 GB, free: 1.629 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/1.04, allocations: 5.694 MB / 1.355 GB, free: 11.91 MB / 1.092 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.03064/1.071, allocations: 21 MB / 1.376 GB, free: 6.125 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007419/1.078, allocations: 3.771 MB / 1.38 GB, free: 2.352 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003806/1.082, allocations: 1.989 MB / 1.381 GB, free: 368 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002209/1.084, allocations: 1.904 MB / 1.383 GB, free: 14.07 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004575/1.089, allocations: 2.244 MB / 1.386 GB, free: 11.77 MB / 1.123 GB Notification: Performance of pre-optimization done (n=283): time 5.851e-06/1.089, allocations: 3.984 kB / 1.386 GB, free: 11.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=283): time 0.01335/1.102, allocations: 5.442 MB / 1.391 GB, free: 6.254 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.102, allocations: 239.8 kB / 1.391 GB, free: 5.969 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00534/1.108, allocations: 3.891 MB / 1.395 GB, free: 2.051 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004789/1.108, allocations: 85.7 kB / 1.395 GB, free: 1.961 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.11, allocations: 2.085 MB / 1.397 GB, free: 15.86 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.111, allocations: 0.9511 MB / 1.398 GB, free: 14.89 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009616/1.112, allocations: 0.6354 MB / 1.399 GB, free: 14.25 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/1.112, allocations: 309.1 kB / 1.399 GB, free: 13.94 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003659/1.116, allocations: 1.69 MB / 1.4 GB, free: 12.24 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/1.12, allocations: 2.346 MB / 1.403 GB, free: 9.645 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007841/1.128, allocations: 4.085 MB / 1.407 GB, free: 5.293 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.128, allocations: 4 kB / 1.407 GB, free: 5.289 MB / 1.139 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01041/1.138, allocations: 4.673 MB / 1.411 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/1.138, allocations: 12 kB / 1.411 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/1.138, allocations: 16 kB / 1.411 GB, free: 0.543 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/1.139, allocations: 108.8 kB / 1.411 GB, free: 444 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/1.143, allocations: 0.8151 MB / 1.412 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/1.145, allocations: 2.267 MB / 1.414 GB, free: 13.18 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004156/1.15, allocations: 488.2 kB / 1.415 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003165/1.15, allocations: 151.9 kB / 1.415 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005684/1.156, allocations: 3.008 MB / 1.418 GB, free: 9.535 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004083/1.16, allocations: 2.35 MB / 1.42 GB, free: 6.938 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00774/1.167, allocations: 4.077 MB / 1.424 GB, free: 2.594 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-05/1.168, allocations: 8 kB / 1.424 GB, free: 2.586 MB / 1.154 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01025/1.178, allocations: 4.657 MB / 1.429 GB, free: 13.88 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.178, allocations: 12 kB / 1.429 GB, free: 13.87 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/1.178, allocations: 16.91 kB / 1.429 GB, free: 13.85 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/1.178, allocations: 116.9 kB / 1.429 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/1.182, allocations: 0.7995 MB / 1.43 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/1.184, allocations: 1.683 MB / 1.431 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/1.188, allocations: 401.5 kB / 1.432 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003396/1.188, allocations: 159.9 kB / 1.432 GB, free: 10.55 MB / 1.17 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.0008387/1.189, allocations: 394.1 kB / 1.432 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/1.19, allocations: 411 kB / 1.433 GB, free: 9.754 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/1.202, allocations: 4.614 MB / 1.437 GB, free: 5.082 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008076/1.21, allocations: 3.734 MB / 1.441 GB, free: 1.262 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.21, allocations: 0 / 1.441 GB, free: 1.262 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/1.212, allocations: 1.042 MB / 1.442 GB, free: 200 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009603/1.213, allocations: 71.89 kB / 1.442 GB, free: 128 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003649/1.217, allocations: 259.6 kB / 1.442 GB, free: 15.87 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/1.217, allocations: 198.1 kB / 1.442 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01129/1.229, allocations: 4.333 MB / 1.447 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01357/1.242, allocations: 6.679 MB / 1.453 GB, free: 4.539 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003854/1.246, allocations: 1.924 MB / 1.455 GB, free: 2.602 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.004849/1.251, allocations: 2.746 MB / 1.458 GB, free: 15.84 MB / 1.201 GB Notification: Performance of Backend: time 3.11e-07/1.251, allocations: 0 / 1.458 GB, free: 15.84 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01547/1.266, allocations: 6.046 MB / 1.464 GB, free: 10.01 MB / 1.201 GB Notification: Performance of SimCode: time 0.02014/1.287, allocations: 10.65 MB / 1.474 GB, free: 15.38 MB / 1.217 GB Notification: Performance of Templates: time 0.1535/1.44, allocations: 109.6 MB / 1.581 GB, free: 2.48 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_Tubular.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches