Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001771/0.001771, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002183/0.002183, allocations: 221.5 kB / 23.05 MB, free: 5.074 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.064/3.064, allocations: 0.49 GB / 0.7959 GB, free: 33.31 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_12_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.001992/0.001992, allocations: 66.11 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 176.1 MB / 1.327 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007951/0.3579, allocations: 5.505 MB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1882/0.5461, allocations: 154.3 MB / 1.483 GB, free: 1.535 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008971/0.547, allocations: 23.81 kB / 1.483 GB, free: 1.512 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.5476, allocations: 225.9 kB / 1.483 GB, free: 1.289 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.5495, allocations: 0.5904 MB / 1.484 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.5518, allocations: 0.9941 MB / 1.485 GB, free: 15.71 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002136/0.5539, allocations: 1.64 MB / 1.486 GB, free: 14.07 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009979/0.5549, allocations: 0.5179 MB / 1.487 GB, free: 13.51 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.556, allocations: 0.6191 MB / 1.487 GB, free: 12.89 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009404/0.5569, allocations: 0.6613 MB / 1.488 GB, free: 12.22 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.5571, allocations: 148 kB / 1.488 GB, free: 12.08 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.5583, allocations: 0.5581 MB / 1.489 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.5587, allocations: 366.8 kB / 1.489 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.5593, allocations: 0.6802 MB / 1.49 GB, free: 10.48 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.5622, allocations: 1.973 MB / 1.492 GB, free: 8.496 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5622, allocations: 0 / 1.492 GB, free: 8.496 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5623, allocations: 0 / 1.492 GB, free: 8.496 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.532e-05/0.5623, allocations: 0 / 1.492 GB, free: 8.496 MB / 1.186 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.003653/0.5659, allocations: 1.678 MB / 1.493 GB, free: 6.781 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.566, allocations: 8.031 kB / 1.493 GB, free: 6.773 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.177e-05/0.566, allocations: 30.39 kB / 1.493 GB, free: 6.742 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.5662, allocations: 165.1 kB / 1.493 GB, free: 6.57 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006047/0.5723, allocations: 0.8193 MB / 1.494 GB, free: 5.75 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.5741, allocations: 0.7802 MB / 1.495 GB, free: 4.941 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/0.5742, allocations: 82.2 kB / 1.495 GB, free: 4.859 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.5744, allocations: 112 kB / 1.495 GB, free: 4.75 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00358/0.578, allocations: 1.44 MB / 1.496 GB, free: 3.246 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.578, allocations: 0 / 1.496 GB, free: 3.246 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.5781, allocations: 44 kB / 1.497 GB, free: 3.203 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.5782, allocations: 28 kB / 1.497 GB, free: 3.176 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004889/0.5831, allocations: 1.885 MB / 1.498 GB, free: 1.281 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007006/0.5901, allocations: 3.566 MB / 1.502 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/0.5935, allocations: 1.219 MB / 1.503 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.5951, allocations: 0.5425 MB / 1.504 GB, free: 11.79 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005199/0.5956, allocations: 105 kB / 1.504 GB, free: 11.69 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/0.5976, allocations: 0.8088 MB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of pre-optimization done (n=109): time 2.415e-06/0.5976, allocations: 0 / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of matching and sorting (n=109): time 0.006514/0.6041, allocations: 1.91 MB / 1.506 GB, free: 8.941 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.6042, allocations: 200.9 kB / 1.507 GB, free: 8.703 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.6054, allocations: 0.6724 MB / 1.507 GB, free: 8.023 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.6055, allocations: 49.7 kB / 1.507 GB, free: 7.969 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.606, allocations: 457.3 kB / 1.508 GB, free: 7.516 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.6064, allocations: 368.9 kB / 1.508 GB, free: 7.152 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003753/0.6067, allocations: 194.5 kB / 1.508 GB, free: 6.953 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000233/0.607, allocations: 398.7 kB / 1.509 GB, free: 6.555 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.6085, allocations: 489.7 kB / 1.509 GB, free: 6.078 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.6102, allocations: 0.6125 MB / 1.51 GB, free: 5.438 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003131/0.6133, allocations: 1.058 MB / 1.511 GB, free: 4.363 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.6133, allocations: 0 / 1.511 GB, free: 4.363 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004261/0.6176, allocations: 1.333 MB / 1.512 GB, free: 3.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.6176, allocations: 4 kB / 1.512 GB, free: 3.016 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6176, allocations: 0 / 1.512 GB, free: 3.016 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/0.6182, allocations: 88.89 kB / 1.512 GB, free: 2.926 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.6197, allocations: 263.5 kB / 1.512 GB, free: 2.668 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.6219, allocations: 1.537 MB / 1.514 GB, free: 1.012 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.6233, allocations: 159.4 kB / 1.514 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.6234, allocations: 47.95 kB / 1.514 GB, free: 0.8086 MB / 1.201 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.0006271/0.624, allocations: 290.1 kB / 1.514 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.6243, allocations: 99.34 kB / 1.514 GB, free: 428 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/0.629, allocations: 1.68 MB / 1.516 GB, free: 14.72 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.6291, allocations: 12 kB / 1.516 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.6291, allocations: 0 / 1.516 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.6291, allocations: 7.922 kB / 1.516 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/0.6353, allocations: 2.792 MB / 1.519 GB, free: 11.86 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.6353, allocations: 0 / 1.519 GB, free: 11.86 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.6366, allocations: 259.6 kB / 1.519 GB, free: 11.61 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.6371, allocations: 72.78 kB / 1.519 GB, free: 11.53 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.6372, allocations: 35.91 kB / 1.519 GB, free: 11.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.6393, allocations: 1.562 MB / 1.521 GB, free: 9.805 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6393, allocations: 0 / 1.521 GB, free: 9.805 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004564/0.6439, allocations: 1.541 MB / 1.522 GB, free: 8.246 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006885/0.6445, allocations: 246.9 kB / 1.522 GB, free: 8.004 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.6448, allocations: 27.95 kB / 1.522 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.6461, allocations: 125.6 kB / 1.523 GB, free: 7.855 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.6463, allocations: 88.83 kB / 1.523 GB, free: 7.766 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.6465, allocations: 47.91 kB / 1.523 GB, free: 7.719 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008006/0.6473, allocations: 495 kB / 1.523 GB, free: 7.242 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6473, allocations: 0 / 1.523 GB, free: 7.242 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001259/0.6485, allocations: 399 kB / 1.524 GB, free: 6.852 MB / 1.217 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.0073/0.6558, allocations: 2.613 MB / 1.526 GB, free: 4.395 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004471/0.6603, allocations: 1.308 MB / 1.527 GB, free: 3.074 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.6603, allocations: 3.984 kB / 1.527 GB, free: 3.07 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/0.6625, allocations: 0.7655 MB / 1.528 GB, free: 2.297 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.6642, allocations: 313.8 kB / 1.528 GB, free: 2.004 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/0.6839, allocations: 8.316 MB / 1.537 GB, free: 9.535 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.6851, allocations: 1.088 MB / 1.538 GB, free: 8.418 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00171/0.6868, allocations: 335.9 kB / 1.538 GB, free: 8.086 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.6879, allocations: 483.2 kB / 1.538 GB, free: 7.613 MB / 1.232 GB Notification: Performance of SimCode: time 3.066e-06/0.6879, allocations: 0 / 1.538 GB, free: 7.613 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09229/0.7802, allocations: 26.76 MB / 1.565 GB, free: 13.15 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.62, allocations: 6.562 kB / 1.565 GB, free: 13.14 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.438924867019523]