Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.001972/0.001972, allocations: 116.1 kB / 17.17 MB, free: 6 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.002374/0.002374, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.887/2.887, allocations: 476.7 MB / 0.7678 GB, free: 9.367 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="cs",version="2.0",platforms={"static"}) [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.002132/0.002132, allocations: 67.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.061, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008221/1.069, allocations: 5.461 MB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2098/1.279, allocations: 154.2 MB / 1.435 GB, free: 12.25 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/1.28, allocations: 19.88 kB / 1.435 GB, free: 12.23 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/1.281, allocations: 217.9 kB / 1.435 GB, free: 12.02 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003045/1.284, allocations: 0.5893 MB / 1.436 GB, free: 11.43 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003171/1.288, allocations: 0.9724 MB / 1.437 GB, free: 10.46 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002847/1.29, allocations: 1.639 MB / 1.438 GB, free: 8.82 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/1.292, allocations: 0.5171 MB / 1.439 GB, free: 8.266 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/1.293, allocations: 0.6308 MB / 1.439 GB, free: 7.633 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/1.294, allocations: 0.6574 MB / 1.44 GB, free: 6.973 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004237/1.294, allocations: 144 kB / 1.44 GB, free: 6.832 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/1.296, allocations: 0.562 MB / 1.441 GB, free: 6.27 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004082/1.296, allocations: 362.9 kB / 1.441 GB, free: 5.914 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007475/1.297, allocations: 0.6802 MB / 1.442 GB, free: 5.23 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002658/1.3, allocations: 1.965 MB / 1.444 GB, free: 3.258 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.3, allocations: 0 / 1.444 GB, free: 3.258 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.502e-06/1.3, allocations: 0 / 1.444 GB, free: 3.258 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.3, allocations: 4 kB / 1.444 GB, free: 3.254 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003471/1.303, allocations: 1.748 MB / 1.445 GB, free: 1.449 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.303, allocations: 12.03 kB / 1.445 GB, free: 1.438 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.697e-05/1.303, allocations: 26.39 kB / 1.445 GB, free: 1.41 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/1.303, allocations: 177.1 kB / 1.446 GB, free: 1.227 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005973/1.309, allocations: 0.8154 MB / 1.446 GB, free: 420 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/1.311, allocations: 0.8563 MB / 1.447 GB, free: 15.51 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/1.311, allocations: 82.2 kB / 1.447 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/1.311, allocations: 104 kB / 1.447 GB, free: 15.32 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/1.315, allocations: 1.432 MB / 1.449 GB, free: 13.83 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/1.315, allocations: 4 kB / 1.449 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/1.315, allocations: 43.98 kB / 1.449 GB, free: 13.78 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/1.315, allocations: 28 kB / 1.449 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004905/1.32, allocations: 1.889 MB / 1.451 GB, free: 11.86 MB / 1.139 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.006728/1.326, allocations: 3.536 MB / 1.454 GB, free: 8.188 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003556/1.33, allocations: 1.3 MB / 1.455 GB, free: 6.859 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/1.332, allocations: 0.537 MB / 1.456 GB, free: 6.32 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007109/1.332, allocations: 482.6 kB / 1.456 GB, free: 5.758 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002039/1.334, allocations: 0.8127 MB / 1.457 GB, free: 4.93 MB / 1.139 GB Notification: Performance of pre-optimization done (n=109): time 3.166e-06/1.334, allocations: 0 / 1.457 GB, free: 4.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=109): time 0.00664/1.341, allocations: 1.981 MB / 1.459 GB, free: 2.918 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/1.341, allocations: 192.9 kB / 1.459 GB, free: 2.688 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/1.342, allocations: 0.6725 MB / 1.46 GB, free: 2.004 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/1.342, allocations: 49.7 kB / 1.46 GB, free: 1.949 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000423/1.343, allocations: 453.4 kB / 1.46 GB, free: 1.5 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/1.343, allocations: 368.8 kB / 1.461 GB, free: 1.137 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/1.343, allocations: 194.5 kB / 1.461 GB, free: 0.9414 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002268/1.344, allocations: 398.7 kB / 1.461 GB, free: 0.543 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/1.345, allocations: 493.7 kB / 1.462 GB, free: 60 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/1.347, allocations: 0.6086 MB / 1.462 GB, free: 15.42 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003066/1.35, allocations: 1.062 MB / 1.463 GB, free: 14.34 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.35, allocations: 64 / 1.463 GB, free: 14.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004337/1.354, allocations: 1.337 MB / 1.465 GB, free: 13 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.354, allocations: 4 kB / 1.465 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.354, allocations: 4 kB / 1.465 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006554/1.355, allocations: 84.83 kB / 1.465 GB, free: 12.9 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.356, allocations: 259.6 kB / 1.465 GB, free: 12.65 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/1.359, allocations: 1.631 MB / 1.467 GB, free: 10.87 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.361, allocations: 165.6 kB / 1.467 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.361, allocations: 47.91 kB / 1.467 GB, free: 10.66 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0007518/1.362, allocations: 297.5 kB / 1.467 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/1.362, allocations: 99.34 kB / 1.467 GB, free: 10.27 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005093/1.367, allocations: 1.672 MB / 1.469 GB, free: 8.582 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.367, allocations: 12 kB / 1.469 GB, free: 8.57 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.367, allocations: 7.938 kB / 1.469 GB, free: 8.562 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/1.367, allocations: 3.984 kB / 1.469 GB, free: 8.559 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006262/1.373, allocations: 2.813 MB / 1.472 GB, free: 5.688 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.373, allocations: 0 / 1.472 GB, free: 5.688 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/1.375, allocations: 255.6 kB / 1.472 GB, free: 5.438 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/1.375, allocations: 76.78 kB / 1.472 GB, free: 5.359 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.823e-05/1.375, allocations: 35.91 kB / 1.472 GB, free: 5.324 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/1.377, allocations: 1.674 MB / 1.474 GB, free: 3.5 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.377, allocations: 0 / 1.474 GB, free: 3.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/1.382, allocations: 1.541 MB / 1.475 GB, free: 1.938 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005676/1.382, allocations: 320 kB / 1.475 GB, free: 1.605 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/1.382, allocations: 31.94 kB / 1.475 GB, free: 1.574 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.384, allocations: 115.9 kB / 1.476 GB, free: 1.461 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.384, allocations: 88.88 kB / 1.476 GB, free: 1.375 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.384, allocations: 47.95 kB / 1.476 GB, free: 1.328 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007094/1.385, allocations: 495 kB / 1.476 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.385, allocations: 0 / 1.476 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001166/1.386, allocations: 399 kB / 1.477 GB, free: 472 kB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006672/1.392, allocations: 2.61 MB / 1.479 GB, free: 14 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003975/1.396, allocations: 1.311 MB / 1.48 GB, free: 12.68 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.396, allocations: 0 / 1.48 GB, free: 12.68 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/1.399, allocations: 0.7616 MB / 1.481 GB, free: 11.91 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/1.4, allocations: 321.4 kB / 1.481 GB, free: 11.61 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/1.418, allocations: 8.304 MB / 1.49 GB, free: 3.152 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/1.419, allocations: 1.086 MB / 1.491 GB, free: 2.043 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001393/1.421, allocations: 340 kB / 1.491 GB, free: 1.707 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008581/1.422, allocations: 471.2 kB / 1.491 GB, free: 1.246 MB / 1.17 GB Notification: Performance of SimCode: time 8.61e-07/1.422, allocations: 0 / 1.491 GB, free: 1.246 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06128/1.483, allocations: 26.08 MB / 1.517 GB, free: 7.566 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/16.13, allocations: 12.05 kB / 1.517 GB, free: 7.555 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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: 23.3570653499919]