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.001342/0.001342, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.00137/0.00137, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.426/1.426, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.146/3.146, allocations: 0.49 GB / 0.7916 GB, free: 33.35 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="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.00282/0.00282, allocations: 69.66 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3779, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008187/0.3861, allocations: 5.462 MB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1895/0.5757, allocations: 154.2 MB / 1.477 GB, free: 3.043 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.5767, allocations: 27.75 kB / 1.477 GB, free: 3.016 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008909/0.5776, allocations: 214 kB / 1.477 GB, free: 2.805 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.5801, allocations: 0.6041 MB / 1.478 GB, free: 2.199 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.5831, allocations: 0.9672 MB / 1.478 GB, free: 1.238 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.5856, allocations: 1.64 MB / 1.48 GB, free: 15.59 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.5868, allocations: 0.521 MB / 1.481 GB, free: 15.03 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.588, allocations: 0.6152 MB / 1.481 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.5891, allocations: 0.6652 MB / 1.482 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.00038/0.5895, allocations: 144 kB / 1.482 GB, free: 13.61 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.5909, allocations: 0.5582 MB / 1.483 GB, free: 13.05 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004977/0.5914, allocations: 366.8 kB / 1.483 GB, free: 12.69 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.5925, allocations: 0.6763 MB / 1.484 GB, free: 12.01 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.5962, allocations: 1.977 MB / 1.485 GB, free: 10.02 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5962, allocations: 0 / 1.485 GB, free: 10.02 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5962, allocations: 0 / 1.485 GB, free: 10.02 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.96e-05/0.5963, allocations: 0 / 1.485 GB, free: 10.02 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.004496/0.6008, allocations: 1.748 MB / 1.487 GB, free: 8.219 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.6009, allocations: 11.98 kB / 1.487 GB, free: 8.207 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003071/0.6012, allocations: 173.1 kB / 1.487 GB, free: 8.027 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006346/0.6075, allocations: 0.8115 MB / 1.488 GB, free: 7.215 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.6094, allocations: 0.8604 MB / 1.489 GB, free: 6.309 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.6096, allocations: 78.2 kB / 1.489 GB, free: 6.23 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.6099, allocations: 108 kB / 1.489 GB, free: 6.125 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/0.6139, allocations: 1.432 MB / 1.491 GB, free: 4.629 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.614, allocations: 0 / 1.491 GB, free: 4.629 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.6141, allocations: 48 kB / 1.491 GB, free: 4.582 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.6142, allocations: 27.94 kB / 1.491 GB, free: 4.555 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005431/0.6196, allocations: 1.886 MB / 1.492 GB, free: 2.66 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008204/0.6278, allocations: 3.621 MB / 1.496 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.6317, allocations: 1.3 MB / 1.497 GB, free: 13.56 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.6334, allocations: 0.5433 MB / 1.498 GB, free: 13.01 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008286/0.6343, allocations: 482.4 kB / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00228/0.6366, allocations: 0.8087 MB / 1.499 GB, free: 11.62 MB / 1.201 GB Notification: Performance of pre-optimization done (n=109): time 3.997e-06/0.6366, allocations: 0 / 1.499 GB, free: 11.62 MB / 1.201 GB Notification: Performance of matching and sorting (n=109): time 0.007287/0.6438, allocations: 1.977 MB / 1.501 GB, free: 9.613 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002306/0.6441, allocations: 204.8 kB / 1.501 GB, free: 9.371 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.6453, allocations: 0.6686 MB / 1.502 GB, free: 8.691 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.6455, allocations: 45.7 kB / 1.502 GB, free: 8.641 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.646, allocations: 465.3 kB / 1.502 GB, free: 8.18 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.6465, allocations: 372.8 kB / 1.503 GB, free: 7.812 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003958/0.6469, allocations: 190.5 kB / 1.503 GB, free: 7.621 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0003718/0.6472, allocations: 398.7 kB / 1.503 GB, free: 7.223 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.6489, allocations: 493.7 kB / 1.504 GB, free: 6.738 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.6507, allocations: 0.6047 MB / 1.504 GB, free: 6.105 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/0.654, allocations: 1.062 MB / 1.505 GB, free: 5.031 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.654, allocations: 4 kB / 1.505 GB, free: 5.027 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004429/0.6585, allocations: 1.325 MB / 1.507 GB, free: 3.691 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6585, allocations: 4 kB / 1.507 GB, free: 3.688 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6585, allocations: 4 kB / 1.507 GB, free: 3.684 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006638/0.6592, allocations: 88.83 kB / 1.507 GB, free: 3.594 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.6607, allocations: 259.7 kB / 1.507 GB, free: 3.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.6632, allocations: 1.642 MB / 1.509 GB, free: 1.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.6647, allocations: 169.5 kB / 1.509 GB, free: 1.387 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.6648, allocations: 39.97 kB / 1.509 GB, free: 1.348 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.0006541/0.6655, allocations: 293.5 kB / 1.509 GB, free: 1.051 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.6658, allocations: 103.4 kB / 1.509 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/0.6712, allocations: 1.669 MB / 1.511 GB, free: 15.26 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.6712, allocations: 12 kB / 1.511 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6712, allocations: 4 kB / 1.511 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.6712, allocations: 11.91 kB / 1.511 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006891/0.6781, allocations: 2.821 MB / 1.514 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6781, allocations: 0 / 1.514 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.6796, allocations: 255.6 kB / 1.514 GB, free: 12.11 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/0.6801, allocations: 76.78 kB / 1.514 GB, free: 12.03 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.6802, allocations: 31.97 kB / 1.514 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.6827, allocations: 1.662 MB / 1.516 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6827, allocations: 4.031 kB / 1.516 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/0.6878, allocations: 1.537 MB / 1.517 GB, free: 8.621 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007432/0.6885, allocations: 328 kB / 1.517 GB, free: 8.281 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.6888, allocations: 27.94 kB / 1.517 GB, free: 8.254 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.6902, allocations: 127.8 kB / 1.517 GB, free: 8.129 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.6904, allocations: 84.88 kB / 1.518 GB, free: 8.047 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6906, allocations: 43.97 kB / 1.518 GB, free: 8.004 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000851/0.6914, allocations: 491 kB / 1.518 GB, free: 7.531 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6914, allocations: 0 / 1.518 GB, free: 7.531 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001381/0.6928, allocations: 399.1 kB / 1.518 GB, free: 7.141 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.00742/0.7002, allocations: 2.624 MB / 1.521 GB, free: 4.68 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004581/0.7048, allocations: 1.308 MB / 1.522 GB, free: 3.355 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.502e-05/0.7048, allocations: 4 kB / 1.522 GB, free: 3.352 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.7072, allocations: 0.7539 MB / 1.523 GB, free: 2.586 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.709, allocations: 322.9 kB / 1.523 GB, free: 2.293 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/0.7298, allocations: 8.311 MB / 1.531 GB, free: 9.824 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.7308, allocations: 1.088 MB / 1.533 GB, free: 8.711 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001497/0.7323, allocations: 343.9 kB / 1.533 GB, free: 8.371 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009308/0.7333, allocations: 471.2 kB / 1.533 GB, free: 7.91 MB / 1.232 GB Notification: Performance of SimCode: time 1.042e-06/0.7333, allocations: 0 / 1.533 GB, free: 7.91 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07553/0.8088, allocations: 26.01 MB / 1.559 GB, free: 14.27 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.46, allocations: 5.016 kB / 1.559 GB, free: 14.27 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.214757964015007]