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.001717/0.001717, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002152/0.002152, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.456/1.456, 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 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.168/3.168, allocations: 0.49 GB / 0.7951 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_12_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.002029/0.002029, allocations: 71.78 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3386, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007574/0.3462, allocations: 5.499 MB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1924/0.5386, allocations: 154.3 MB / 1.482 GB, free: 1.488 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5396, allocations: 27.81 kB / 1.482 GB, free: 1.461 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.5403, allocations: 214 kB / 1.482 GB, free: 1.25 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.542, allocations: 0.6014 MB / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.5443, allocations: 0.9886 MB / 1.484 GB, free: 15.66 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.5461, allocations: 1.647 MB / 1.485 GB, free: 14.01 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00087/0.547, allocations: 0.51 MB / 1.486 GB, free: 13.46 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008036/0.5478, allocations: 0.6191 MB / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008248/0.5486, allocations: 0.6614 MB / 1.487 GB, free: 12.17 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.5488, allocations: 144 kB / 1.487 GB, free: 12.03 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.5501, allocations: 0.562 MB / 1.488 GB, free: 11.47 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004203/0.5505, allocations: 374.8 kB / 1.488 GB, free: 11.1 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.5511, allocations: 0.6763 MB / 1.489 GB, free: 10.42 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.5535, allocations: 1.965 MB / 1.491 GB, free: 8.453 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5535, allocations: 0 / 1.491 GB, free: 8.453 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5535, allocations: 0 / 1.491 GB, free: 8.453 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.5536, allocations: 0 / 1.491 GB, free: 8.453 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.003238/0.5568, allocations: 1.677 MB / 1.492 GB, free: 6.738 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5568, allocations: 12.03 kB / 1.492 GB, free: 6.727 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.5571, allocations: 165.1 kB / 1.493 GB, free: 6.555 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/0.5631, allocations: 0.8154 MB / 1.493 GB, free: 5.738 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.5647, allocations: 0.7843 MB / 1.494 GB, free: 4.926 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.919e-05/0.5647, allocations: 86.12 kB / 1.494 GB, free: 4.84 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.5649, allocations: 108 kB / 1.494 GB, free: 4.734 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/0.5683, allocations: 1.436 MB / 1.496 GB, free: 3.234 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.5683, allocations: 0 / 1.496 GB, free: 3.234 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.5684, allocations: 48 kB / 1.496 GB, free: 3.188 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.5684, allocations: 31.94 kB / 1.496 GB, free: 3.156 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004654/0.5731, allocations: 1.885 MB / 1.498 GB, free: 1.262 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00693/0.58, allocations: 3.554 MB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/0.5833, allocations: 1.232 MB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.5848, allocations: 0.5386 MB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/0.5853, allocations: 101 kB / 1.503 GB, free: 11.67 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001914/0.5872, allocations: 0.8127 MB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of pre-optimization done (n=109): time 2.434e-06/0.5872, allocations: 0 / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=109): time 0.006158/0.5934, allocations: 1.91 MB / 1.506 GB, free: 8.922 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.5935, allocations: 200.9 kB / 1.506 GB, free: 8.684 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/0.5945, allocations: 0.6685 MB / 1.506 GB, free: 8.004 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.5946, allocations: 49.7 kB / 1.506 GB, free: 7.949 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.595, allocations: 461.3 kB / 1.507 GB, free: 7.492 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.5953, allocations: 364.9 kB / 1.507 GB, free: 7.133 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.5957, allocations: 194.5 kB / 1.507 GB, free: 6.934 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.5959, allocations: 402.7 kB / 1.508 GB, free: 6.531 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.5973, allocations: 493.7 kB / 1.508 GB, free: 6.051 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.5989, allocations: 0.6125 MB / 1.509 GB, free: 5.41 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.6018, allocations: 1.054 MB / 1.51 GB, free: 4.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6018, allocations: 4 kB / 1.51 GB, free: 4.336 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004021/0.6059, allocations: 1.329 MB / 1.511 GB, free: 3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.6059, allocations: 9.406 kB / 1.511 GB, free: 2.992 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6059, allocations: 128 / 1.511 GB, free: 2.992 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/0.6065, allocations: 84.77 kB / 1.511 GB, free: 2.906 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.6079, allocations: 259.6 kB / 1.512 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.6101, allocations: 1.535 MB / 1.513 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6114, allocations: 167.3 kB / 1.513 GB, free: 0.832 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.6115, allocations: 39.97 kB / 1.513 GB, free: 0.793 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.0006591/0.6122, allocations: 287.8 kB / 1.514 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.6124, allocations: 103.3 kB / 1.514 GB, free: 412 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004637/0.6171, allocations: 1.68 MB / 1.515 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.6171, allocations: 12 kB / 1.515 GB, free: 14.69 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6171, allocations: 4 kB / 1.515 GB, free: 14.69 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.6171, allocations: 11.91 kB / 1.515 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005976/0.6231, allocations: 2.788 MB / 1.518 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.6231, allocations: 0 / 1.518 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.6244, allocations: 255.6 kB / 1.518 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.6248, allocations: 72.78 kB / 1.518 GB, free: 11.51 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.974e-05/0.6249, allocations: 39.97 kB / 1.518 GB, free: 11.47 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.627, allocations: 1.566 MB / 1.52 GB, free: 9.777 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.627, allocations: 8.062 kB / 1.52 GB, free: 9.77 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.6311, allocations: 1.525 MB / 1.521 GB, free: 8.227 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/0.6317, allocations: 246.9 kB / 1.522 GB, free: 7.984 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.6318, allocations: 27.95 kB / 1.522 GB, free: 7.957 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.633, allocations: 123.9 kB / 1.522 GB, free: 7.836 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.6332, allocations: 92.77 kB / 1.522 GB, free: 7.742 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.6333, allocations: 43.97 kB / 1.522 GB, free: 7.699 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006802/0.634, allocations: 491 kB / 1.522 GB, free: 7.227 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.634, allocations: 0 / 1.522 GB, free: 7.227 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001164/0.6352, allocations: 403 kB / 1.523 GB, free: 6.832 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.006341/0.6415, allocations: 2.622 MB / 1.525 GB, free: 4.367 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003745/0.6452, allocations: 1.308 MB / 1.527 GB, free: 3.043 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6453, allocations: 0 / 1.527 GB, free: 3.043 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.6472, allocations: 0.7655 MB / 1.527 GB, free: 2.27 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.6487, allocations: 321.9 kB / 1.528 GB, free: 1.973 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/0.6662, allocations: 8.304 MB / 1.536 GB, free: 9.512 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/0.667, allocations: 1.088 MB / 1.537 GB, free: 8.395 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001327/0.6684, allocations: 340 kB / 1.537 GB, free: 8.059 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008268/0.6692, allocations: 475.2 kB / 1.538 GB, free: 7.594 MB / 1.232 GB Notification: Performance of SimCode: time 9.62e-07/0.6692, allocations: 0 / 1.538 GB, free: 7.594 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07399/0.7432, allocations: 26.73 MB / 1.564 GB, free: 13.13 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.83, allocations: 14.19 kB / 1.564 GB, free: 13.12 MB / 1.264 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 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.csv","/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: 21.803412831999594]