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.001355/0.001355, 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.001594/0.001594, allocations: 209.7 kB / 22.24 MB, free: 4.848 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.789 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.366/3.366, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002081/0.002081, allocations: 65 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3607, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.009116/0.3698, allocations: 4.857 MB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1889/0.5587, allocations: 132.9 MB / 1.498 GB, free: 3.801 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.5598, allocations: 23.81 kB / 1.498 GB, free: 3.777 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009851/0.5608, allocations: 217.9 kB / 1.498 GB, free: 3.562 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.5634, allocations: 0.5987 MB / 1.499 GB, free: 2.965 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.566, allocations: 0.9672 MB / 1.5 GB, free: 2.004 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002527/0.5686, allocations: 1.64 MB / 1.501 GB, free: 368 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.5699, allocations: 494.4 kB / 1.502 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.5711, allocations: 0.623 MB / 1.502 GB, free: 15.21 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.5723, allocations: 0.5934 MB / 1.503 GB, free: 14.62 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000438/0.5727, allocations: 144 kB / 1.503 GB, free: 14.48 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.5742, allocations: 0.5347 MB / 1.504 GB, free: 13.94 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005964/0.5748, allocations: 366.8 kB / 1.504 GB, free: 13.58 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009768/0.5758, allocations: 0.5521 MB / 1.504 GB, free: 13.03 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.5792, allocations: 1.985 MB / 1.506 GB, free: 11.04 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5793, allocations: 0 / 1.506 GB, free: 11.04 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.156e-06/0.5793, allocations: 0 / 1.506 GB, free: 11.04 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.742e-05/0.5793, 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.004805/0.5841, allocations: 1.669 MB / 1.508 GB, free: 9.328 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.5842, allocations: 8.031 kB / 1.508 GB, free: 9.32 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003979/0.5846, allocations: 173.1 kB / 1.508 GB, free: 9.141 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/0.5997, allocations: 2.345 MB / 1.511 GB, free: 6.793 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.6021, allocations: 0.8155 MB / 1.511 GB, free: 5.949 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.6022, allocations: 86.2 kB / 1.511 GB, free: 5.863 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.6026, allocations: 104 kB / 1.511 GB, free: 5.762 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008757/0.6114, allocations: 2.553 MB / 1.514 GB, free: 3.082 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.6114, allocations: 0 / 1.514 GB, free: 3.082 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002645/0.6117, allocations: 48 kB / 1.514 GB, free: 3.035 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.6117, allocations: 31.94 kB / 1.514 GB, free: 3.004 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.6249, allocations: 3.454 MB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/0.6382, allocations: 5.178 MB / 1.522 GB, free: 9.668 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007981/0.6462, allocations: 2.035 MB / 1.524 GB, free: 7.637 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005739/0.6519, allocations: 1.346 MB / 1.526 GB, free: 6.289 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.6521, allocations: 36.91 kB / 1.526 GB, free: 6.25 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006576/0.6587, allocations: 1.768 MB / 1.528 GB, free: 4.441 MB / 1.217 GB Notification: Performance of pre-optimization done (n=109): time 4.89e-06/0.6587, allocations: 0 / 1.528 GB, free: 4.441 MB / 1.217 GB Notification: Performance of matching and sorting (n=109): time 0.01861/0.6773, allocations: 4.209 MB / 1.532 GB, free: 224 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/0.6774, allocations: 196.9 kB / 1.532 GB, free: 15.98 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.6786, allocations: 0.684 MB / 1.533 GB, free: 15.29 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003109/0.6789, allocations: 41.7 kB / 1.533 GB, free: 15.25 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/0.6794, allocations: 457.4 kB / 1.533 GB, free: 14.79 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005353/0.6799, allocations: 368.8 kB / 1.533 GB, free: 14.43 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000514/0.6805, allocations: 194.5 kB / 1.534 GB, free: 14.23 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.6807, allocations: 410.7 kB / 1.534 GB, free: 13.82 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005608/0.6863, allocations: 1.294 MB / 1.535 GB, free: 12.53 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00594/0.6922, allocations: 1.546 MB / 1.537 GB, free: 10.92 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/0.7029, allocations: 2.421 MB / 1.539 GB, free: 8.488 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.7029, allocations: 0 / 1.539 GB, free: 8.488 MB / 1.232 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01257/0.7155, allocations: 2.836 MB / 1.542 GB, free: 5.637 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.7155, allocations: 4 kB / 1.542 GB, free: 5.633 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.7155, allocations: 0 / 1.542 GB, free: 5.633 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/0.7162, allocations: 84.91 kB / 1.542 GB, free: 5.547 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003467/0.7196, allocations: 0.5696 MB / 1.542 GB, free: 4.977 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.7221, allocations: 1.518 MB / 1.544 GB, free: 3.344 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/0.7255, allocations: 479.1 kB / 1.544 GB, free: 2.875 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/0.7258, allocations: 47.95 kB / 1.544 GB, free: 2.828 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.0008959/0.7267, allocations: 295.2 kB / 1.545 GB, free: 2.531 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/0.7271, allocations: 99.34 kB / 1.545 GB, free: 2.434 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/0.7404, allocations: 3.23 MB / 1.548 GB, free: 15.19 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.7405, allocations: 19.94 kB / 1.548 GB, free: 15.17 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7405, allocations: 0 / 1.548 GB, free: 15.17 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/0.7405, allocations: 11.92 kB / 1.548 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.7566, allocations: 4.97 MB / 1.553 GB, free: 9.812 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.7566, allocations: 0 / 1.553 GB, free: 9.812 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0034/0.76, allocations: 0.5697 MB / 1.553 GB, free: 9.242 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/0.7605, allocations: 68.78 kB / 1.553 GB, free: 9.172 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/0.7608, allocations: 39.95 kB / 1.554 GB, free: 9.133 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.7629, allocations: 1.543 MB / 1.555 GB, free: 7.469 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7629, allocations: 0 / 1.555 GB, free: 7.469 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/0.7754, allocations: 3.044 MB / 1.558 GB, free: 4.402 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.7767, allocations: 271 kB / 1.558 GB, free: 4.137 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004791/0.7771, allocations: 35.94 kB / 1.558 GB, free: 4.102 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003287/0.7804, allocations: 439.6 kB / 1.559 GB, free: 3.672 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/0.7808, allocations: 84.83 kB / 1.559 GB, free: 3.59 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/0.781, allocations: 63.95 kB / 1.559 GB, free: 3.527 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000943/0.782, allocations: 491 kB / 1.559 GB, free: 3.055 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.782, allocations: 0 / 1.559 GB, free: 3.055 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001601/0.7836, allocations: 415.1 kB / 1.56 GB, free: 2.648 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.01491/0.7985, allocations: 4.139 MB / 1.564 GB, free: 14.69 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01232/0.8108, allocations: 2.931 MB / 1.567 GB, free: 11.75 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.8108, allocations: 8 kB / 1.567 GB, free: 11.74 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.006349/0.8172, allocations: 1.566 MB / 1.568 GB, free: 10.16 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.8189, allocations: 314.6 kB / 1.568 GB, free: 9.871 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04791/0.8668, allocations: 13.08 MB / 1.581 GB, free: 12.63 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.8675, allocations: 0.4982 MB / 1.582 GB, free: 12.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00186/0.8694, allocations: 379.9 kB / 1.582 GB, free: 11.73 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.8704, allocations: 491.1 kB / 1.583 GB, free: 11.25 MB / 1.279 GB Notification: Performance of SimCode: time 7.92e-07/0.8704, allocations: 0 / 1.583 GB, free: 11.25 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7314/1.602, allocations: 30.03 MB / 1.612 GB, free: 246.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.64, allocations: 11.66 kB / 1.612 GB, free: 246.4 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 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.csv","/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.881349856965244]