Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|shaCoe.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|shaCoe.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001449, allocations: 120.1 kB / 16.42 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.001596/0.001596, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.517/2.517, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7254, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.03524/0.7607, allocations: 38.57 MB / 1.246 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1626/0.9233, allocations: 160.6 MB / 1.403 GB, free: 5.609 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.9262, allocations: 55.69 kB / 1.403 GB, free: 5.555 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.9289, allocations: 0.7499 MB / 1.404 GB, free: 4.801 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006738/0.9356, allocations: 2.078 MB / 1.406 GB, free: 2.719 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005962/0.9416, allocations: 2.25 MB / 1.408 GB, free: 492 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01402/0.9556, allocations: 13.27 MB / 1.421 GB, free: 3.18 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008962/0.9646, allocations: 6.624 MB / 1.427 GB, free: 12.46 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0091/0.9738, allocations: 4.635 MB / 1.432 GB, free: 7.832 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006713/0.9805, allocations: 3.988 MB / 1.436 GB, free: 3.828 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002024/0.9825, allocations: 0.6758 MB / 1.436 GB, free: 3.152 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005682/0.9882, allocations: 1.978 MB / 1.438 GB, free: 1.172 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002511/0.9908, allocations: 1.636 MB / 1.44 GB, free: 15.53 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.005604/0.9964, allocations: 3.279 MB / 1.443 GB, free: 12.24 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/1.008, allocations: 9.543 MB / 1.453 GB, free: 2.668 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.008, allocations: 0 / 1.453 GB, free: 2.668 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.804e-06/1.008, allocations: 0 / 1.453 GB, free: 2.668 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002022/1.008, allocations: 0 / 1.453 GB, free: 2.668 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: 1070 * Number of variables: 1070 Notification: Performance of Generate backend data structure: time 0.01976/1.028, allocations: 6.362 MB / 1.459 GB, free: 12.22 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.028, allocations: 8.031 kB / 1.459 GB, free: 12.21 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00978/1.037, allocations: 1.418 MB / 1.46 GB, free: 10.79 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/1.052, allocations: 4.97 MB / 1.465 GB, free: 5.746 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/1.052, allocations: 312.2 kB / 1.465 GB, free: 5.438 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/1.054, allocations: 403.9 kB / 1.466 GB, free: 5.043 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/1.067, allocations: 5.985 MB / 1.471 GB, free: 14.85 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.743e-05/1.067, allocations: 7.938 kB / 1.472 GB, free: 14.84 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004854/1.067, allocations: 172 kB / 1.472 GB, free: 14.68 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/1.068, allocations: 191.9 kB / 1.472 GB, free: 14.48 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/1.08, allocations: 5.706 MB / 1.477 GB, free: 8.758 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.02915/1.109, allocations: 21.16 MB / 1.498 GB, free: 2.762 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007367/1.116, allocations: 3.729 MB / 1.502 GB, free: 15.03 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003845/1.12, allocations: 1.978 MB / 1.504 GB, free: 13.04 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002206/1.122, allocations: 1.9 MB / 1.506 GB, free: 10.75 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00473/1.127, allocations: 2.243 MB / 1.508 GB, free: 8.457 MB / 1.232 GB Notification: Performance of pre-optimization done (n=282): time 5.751e-06/1.127, allocations: 0 / 1.508 GB, free: 8.457 MB / 1.232 GB Notification: Performance of matching and sorting (n=282): time 0.01404/1.141, allocations: 5.422 MB / 1.513 GB, free: 2.961 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.141, allocations: 235.8 kB / 1.513 GB, free: 2.68 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006807/1.148, allocations: 3.924 MB / 1.517 GB, free: 14.73 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004224/1.148, allocations: 85.7 kB / 1.517 GB, free: 14.64 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002114/1.15, allocations: 2.101 MB / 1.519 GB, free: 12.52 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.152, allocations: 0.9474 MB / 1.52 GB, free: 11.56 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/1.153, allocations: 0.6355 MB / 1.521 GB, free: 10.91 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/1.153, allocations: 305.1 kB / 1.521 GB, free: 10.61 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004018/1.157, allocations: 1.683 MB / 1.523 GB, free: 8.922 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004699/1.162, allocations: 2.362 MB / 1.525 GB, free: 6.309 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008882/1.171, allocations: 4.086 MB / 1.529 GB, free: 1.953 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-05/1.171, allocations: 8 kB / 1.529 GB, free: 1.945 MB / 1.248 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.01182/1.182, allocations: 4.677 MB / 1.534 GB, free: 13.22 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/1.183, allocations: 12 kB / 1.534 GB, free: 13.21 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/1.183, allocations: 23.98 kB / 1.534 GB, free: 13.19 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/1.183, allocations: 112.9 kB / 1.534 GB, free: 13.07 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/1.187, allocations: 0.7995 MB / 1.534 GB, free: 12.27 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/1.189, allocations: 1.68 MB / 1.536 GB, free: 10.45 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/1.194, allocations: 488.2 kB / 1.537 GB, free: 9.973 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004878/1.194, allocations: 163.9 kB / 1.537 GB, free: 9.812 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006495/1.201, allocations: 3.008 MB / 1.54 GB, free: 6.797 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004745/1.205, allocations: 2.362 MB / 1.542 GB, free: 4.18 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008459/1.214, allocations: 4.082 MB / 1.546 GB, free: 15.83 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.354e-05/1.214, allocations: 4 kB / 1.546 GB, free: 15.82 MB / 1.279 GB Notification: Performance of matching and sorting (n=403) (initialization_lambda0): time 0.01092/1.225, allocations: 4.669 MB / 1.551 GB, free: 11.11 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.118e-05/1.225, allocations: 16.03 kB / 1.551 GB, free: 11.09 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/1.225, allocations: 20 kB / 1.551 GB, free: 11.07 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/1.226, allocations: 112.8 kB / 1.551 GB, free: 10.96 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/1.229, allocations: 0.7956 MB / 1.551 GB, free: 10.16 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/1.231, allocations: 1.697 MB / 1.553 GB, free: 8.32 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/1.235, allocations: 409.5 kB / 1.553 GB, free: 7.918 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003525/1.236, allocations: 159.9 kB / 1.554 GB, free: 7.762 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (401): * Single equations (assignments): 400 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.0008344/1.237, allocations: 386.1 kB / 1.554 GB, free: 7.375 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.238, allocations: 415 kB / 1.554 GB, free: 6.965 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.249, allocations: 4.708 MB / 1.559 GB, free: 2.195 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6196/1.869, allocations: 3.708 MB / 1.563 GB, free: 338.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.869, allocations: 0.5312 kB / 1.563 GB, free: 338.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003233/1.872, allocations: 1.037 MB / 1.564 GB, free: 338.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/1.873, allocations: 71.3 kB / 1.564 GB, free: 338.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003738/1.877, allocations: 256.2 kB / 1.564 GB, free: 338.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006316/1.878, allocations: 195.4 kB / 1.564 GB, free: 338.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01189/1.89, allocations: 4.311 MB / 1.568 GB, free: 336.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01413/1.904, allocations: 6.671 MB / 1.575 GB, free: 334.3 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003999/1.908, allocations: 1.923 MB / 1.577 GB, free: 333.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003922/1.912, allocations: 2.769 MB / 1.579 GB, free: 332.6 MB / 1.279 GB Notification: Performance of Backend: time 6.12e-07/1.912, allocations: 0 / 1.579 GB, free: 332.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01389/1.926, allocations: 6.033 MB / 1.585 GB, free: 330.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.01718/1.943, allocations: 10.67 MB / 1.596 GB, free: 324.4 MB / 1.279 GB Notification: Performance of Templates: time 0.1319/2.075, allocations: 111.1 MB / 1.704 GB, free: 214.9 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches