Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00133/0.00133, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00159/0.00159, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.283/3.283, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",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.002507/0.002507, allocations: 67.48 kB / 1.186 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3457, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007705/0.3534, allocations: 4.869 MB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1776/0.531, allocations: 132.9 MB / 1.498 GB, free: 3.809 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.5323, allocations: 23.81 kB / 1.498 GB, free: 3.785 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009999/0.5333, allocations: 214 kB / 1.498 GB, free: 3.574 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.536, allocations: 0.5947 MB / 1.499 GB, free: 2.98 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.5389, allocations: 0.9671 MB / 1.5 GB, free: 2.02 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.5413, allocations: 1.643 MB / 1.501 GB, free: 380 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.5426, allocations: 0.4905 MB / 1.502 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.5438, allocations: 0.619 MB / 1.502 GB, free: 15.22 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.545, allocations: 0.5854 MB / 1.503 GB, free: 14.63 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004734/0.5455, allocations: 147.9 kB / 1.503 GB, free: 14.49 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.5469, allocations: 0.5348 MB / 1.504 GB, free: 13.95 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003843/0.5473, allocations: 374.8 kB / 1.504 GB, free: 13.59 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006035/0.5479, allocations: 0.552 MB / 1.504 GB, free: 13.03 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.5506, allocations: 1.981 MB / 1.506 GB, free: 11.04 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5506, allocations: 3.984 kB / 1.506 GB, free: 11.04 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5506, allocations: 0 / 1.506 GB, free: 11.04 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.61e-05/0.5506, allocations: 0 / 1.506 GB, free: 11.04 MB / 1.201 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.003457/0.5541, allocations: 1.669 MB / 1.508 GB, free: 9.332 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5541, allocations: 8.031 kB / 1.508 GB, free: 9.324 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002072/0.5543, allocations: 173.1 kB / 1.508 GB, free: 9.145 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/0.5696, allocations: 2.349 MB / 1.511 GB, free: 6.793 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.5716, allocations: 0.8155 MB / 1.511 GB, free: 5.949 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.965e-05/0.5717, allocations: 82.2 kB / 1.511 GB, free: 5.867 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.5719, allocations: 108 kB / 1.512 GB, free: 5.762 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007981/0.5799, allocations: 2.545 MB / 1.514 GB, free: 3.09 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.5799, allocations: 0 / 1.514 GB, free: 3.09 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.5801, allocations: 48 kB / 1.514 GB, free: 3.043 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.5801, allocations: 28 kB / 1.514 GB, free: 3.016 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.5932, allocations: 3.462 MB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.6059, allocations: 5.174 MB / 1.522 GB, free: 9.676 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007724/0.6136, allocations: 2.028 MB / 1.524 GB, free: 7.648 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005664/0.6193, allocations: 1.36 MB / 1.526 GB, free: 6.289 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.6194, allocations: 28.97 kB / 1.526 GB, free: 6.258 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006264/0.6256, allocations: 1.768 MB / 1.528 GB, free: 4.449 MB / 1.217 GB Notification: Performance of pre-optimization done (n=109): time 3.376e-06/0.6256, allocations: 0 / 1.528 GB, free: 4.449 MB / 1.217 GB Notification: Performance of matching and sorting (n=109): time 0.01831/0.6439, allocations: 4.217 MB / 1.532 GB, free: 224 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.6441, allocations: 192.9 kB / 1.532 GB, free: 15.99 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.6452, allocations: 0.6841 MB / 1.533 GB, free: 15.3 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.6454, allocations: 45.7 kB / 1.533 GB, free: 15.25 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.6459, allocations: 453.4 kB / 1.533 GB, free: 14.8 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.6463, allocations: 372.8 kB / 1.533 GB, free: 14.43 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.6467, allocations: 198.5 kB / 1.534 GB, free: 14.23 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.6469, allocations: 402.7 kB / 1.534 GB, free: 13.83 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00574/0.6526, allocations: 1.286 MB / 1.535 GB, free: 12.54 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005945/0.6586, allocations: 1.55 MB / 1.537 GB, free: 10.93 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/0.669, allocations: 2.424 MB / 1.539 GB, free: 8.492 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.6691, allocations: 0 / 1.539 GB, free: 8.492 MB / 1.232 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0122/0.6813, allocations: 2.828 MB / 1.542 GB, free: 5.648 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.6813, allocations: 8 kB / 1.542 GB, free: 5.641 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.6813, allocations: 0 / 1.542 GB, free: 5.641 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/0.6819, allocations: 84.89 kB / 1.542 GB, free: 5.555 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/0.6854, allocations: 0.5696 MB / 1.542 GB, free: 4.984 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.6876, allocations: 1.515 MB / 1.544 GB, free: 3.352 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/0.6909, allocations: 479 kB / 1.544 GB, free: 2.883 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.6911, allocations: 48.14 kB / 1.544 GB, free: 2.836 MB / 1.232 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.0007303/0.6918, allocations: 293.5 kB / 1.545 GB, free: 2.539 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/0.6922, allocations: 103.3 kB / 1.545 GB, free: 2.438 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/0.7052, allocations: 3.23 MB / 1.548 GB, free: 15.19 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.7052, allocations: 12 kB / 1.548 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.7052, allocations: 7.938 kB / 1.548 GB, free: 15.17 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.7052, allocations: 11.91 kB / 1.548 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.7208, allocations: 4.97 MB / 1.553 GB, free: 9.816 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.7208, allocations: 0 / 1.553 GB, free: 9.816 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003335/0.7241, allocations: 0.5697 MB / 1.553 GB, free: 9.246 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004826/0.7246, allocations: 68.78 kB / 1.553 GB, free: 9.176 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/0.7248, allocations: 31.97 kB / 1.554 GB, free: 9.145 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.7269, allocations: 1.551 MB / 1.555 GB, free: 7.473 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7269, allocations: 0 / 1.555 GB, free: 7.473 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/0.7394, allocations: 3.044 MB / 1.558 GB, free: 4.406 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009974/0.7404, allocations: 270.9 kB / 1.558 GB, free: 4.141 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/0.7408, allocations: 27.95 kB / 1.558 GB, free: 4.113 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/0.744, allocations: 443.6 kB / 1.559 GB, free: 3.68 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.7443, allocations: 92.83 kB / 1.559 GB, free: 3.59 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/0.7444, allocations: 52.09 kB / 1.559 GB, free: 3.539 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008782/0.7453, allocations: 495 kB / 1.559 GB, free: 3.062 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7453, allocations: 0 / 1.559 GB, free: 3.062 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001328/0.7466, allocations: 415.1 kB / 1.56 GB, free: 2.656 MB / 1.248 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.01496/0.7616, allocations: 4.135 MB / 1.564 GB, free: 14.71 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01225/0.7738, allocations: 2.935 MB / 1.567 GB, free: 11.76 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.7739, allocations: 4 kB / 1.567 GB, free: 11.75 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00631/0.7802, allocations: 1.573 MB / 1.568 GB, free: 10.17 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.7818, allocations: 320 kB / 1.568 GB, free: 9.875 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04488/0.8267, allocations: 13.07 MB / 1.581 GB, free: 12.64 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/0.8275, allocations: 0.5021 MB / 1.582 GB, free: 12.11 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002084/0.8296, allocations: 383.9 kB / 1.582 GB, free: 11.73 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.8307, allocations: 483.2 kB / 1.583 GB, free: 11.25 MB / 1.279 GB Notification: Performance of SimCode: time 7.02e-07/0.8307, allocations: 0 / 1.583 GB, free: 11.25 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7518/1.582, allocations: 30.03 MB / 1.612 GB, free: 246.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.62, allocations: 8.109 kB / 1.612 GB, free: 246.5 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.658200962934643]