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.001728/0.001728, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002211/0.002211, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.682/1.682, allocations: 230.6 MB / 256 MB, free: 7.781 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.662/3.662, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 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.002053/0.002053, allocations: 68.06 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3869, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008533/0.3955, allocations: 4.884 MB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.5751, allocations: 132.9 MB / 1.46 GB, free: 8.09 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.5761, allocations: 19.88 kB / 1.46 GB, free: 8.07 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008695/0.577, allocations: 221.9 kB / 1.46 GB, free: 7.852 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.5794, allocations: 0.6048 MB / 1.46 GB, free: 7.246 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.582, allocations: 0.9753 MB / 1.461 GB, free: 6.277 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002372/0.5844, allocations: 1.636 MB / 1.463 GB, free: 4.637 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.5855, allocations: 490.4 kB / 1.463 GB, free: 4.113 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.5867, allocations: 0.623 MB / 1.464 GB, free: 3.488 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.5878, allocations: 0.5911 MB / 1.465 GB, free: 2.895 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003978/0.5881, allocations: 148 kB / 1.465 GB, free: 2.75 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.5896, allocations: 0.5347 MB / 1.465 GB, free: 2.215 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004934/0.5901, allocations: 366.8 kB / 1.466 GB, free: 1.855 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008504/0.5909, allocations: 0.5482 MB / 1.466 GB, free: 1.305 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.5939, allocations: 1.988 MB / 1.468 GB, free: 15.31 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5939, allocations: 0 / 1.468 GB, free: 15.31 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5939, allocations: 0 / 1.468 GB, free: 15.31 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.923e-05/0.594, allocations: 0 / 1.468 GB, free: 15.31 MB / 1.17 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.004179/0.5982, allocations: 1.675 MB / 1.47 GB, free: 13.6 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5982, allocations: 8.031 kB / 1.47 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002994/0.5985, allocations: 169.1 kB / 1.47 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006013/0.6045, allocations: 0.8193 MB / 1.471 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.6065, allocations: 0.7843 MB / 1.471 GB, free: 11.78 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.6066, allocations: 86.2 kB / 1.472 GB, free: 11.7 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.6068, allocations: 100 kB / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004/0.6108, allocations: 1.691 MB / 1.473 GB, free: 9.781 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.6109, allocations: 4 kB / 1.473 GB, free: 9.777 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.611, allocations: 44 kB / 1.473 GB, free: 9.734 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.611, allocations: 32 kB / 1.473 GB, free: 9.703 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004931/0.616, allocations: 1.839 MB / 1.475 GB, free: 7.855 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007332/0.6233, allocations: 2.899 MB / 1.478 GB, free: 4.887 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.627, allocations: 1.22 MB / 1.479 GB, free: 3.664 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.6286, allocations: 0.5424 MB / 1.48 GB, free: 3.117 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/0.6291, allocations: 84.91 kB / 1.48 GB, free: 3.035 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002198/0.6313, allocations: 0.9131 MB / 1.481 GB, free: 2.074 MB / 1.17 GB Notification: Performance of pre-optimization done (n=109): time 4.698e-06/0.6313, allocations: 0 / 1.481 GB, free: 2.074 MB / 1.17 GB Notification: Performance of matching and sorting (n=109): time 0.006357/0.6376, allocations: 1.91 MB / 1.483 GB, free: 164 kB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.6378, allocations: 196.9 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.6389, allocations: 0.6763 MB / 1.483 GB, free: 15.24 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.639, allocations: 45.7 kB / 1.483 GB, free: 15.19 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.6395, allocations: 461.5 kB / 1.484 GB, free: 14.73 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003653/0.6398, allocations: 376.8 kB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/0.6402, allocations: 190.5 kB / 1.484 GB, free: 14.16 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.6404, allocations: 398.7 kB / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.6418, allocations: 489.7 kB / 1.485 GB, free: 13.29 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.6435, allocations: 0.7419 MB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.6466, allocations: 1.054 MB / 1.487 GB, free: 11.41 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.6466, allocations: 0 / 1.487 GB, free: 11.41 MB / 1.186 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004076/0.6507, allocations: 1.329 MB / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.6507, allocations: 9.719 kB / 1.488 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6507, allocations: 0 / 1.488 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/0.6513, allocations: 80.91 kB / 1.488 GB, free: 9.988 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.6527, allocations: 263.6 kB / 1.489 GB, free: 9.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.655, allocations: 1.523 MB / 1.49 GB, free: 8.086 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.6565, allocations: 163.3 kB / 1.49 GB, free: 7.926 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.6567, allocations: 43.97 kB / 1.49 GB, free: 7.883 MB / 1.186 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.000666/0.6573, allocations: 298 kB / 1.491 GB, free: 7.582 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.6576, allocations: 99.39 kB / 1.491 GB, free: 7.484 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/0.6625, allocations: 1.676 MB / 1.492 GB, free: 5.793 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.6626, allocations: 12 kB / 1.492 GB, free: 5.781 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6626, allocations: 0 / 1.492 GB, free: 5.781 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.6626, allocations: 15.91 kB / 1.492 GB, free: 5.766 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006692/0.6693, allocations: 2.613 MB / 1.495 GB, free: 3.094 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.6693, allocations: 4 kB / 1.495 GB, free: 3.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.6707, allocations: 259.6 kB / 1.495 GB, free: 2.836 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.6711, allocations: 68.78 kB / 1.495 GB, free: 2.766 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.6713, allocations: 35.97 kB / 1.495 GB, free: 2.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.6734, allocations: 1.555 MB / 1.497 GB, free: 1.051 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6734, allocations: 11.94 kB / 1.497 GB, free: 1.039 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/0.6778, allocations: 1.537 MB / 1.498 GB, free: 15.48 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/0.6786, allocations: 242.9 kB / 1.499 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.6788, allocations: 27.94 kB / 1.499 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.6801, allocations: 123.9 kB / 1.499 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/0.6803, allocations: 92.77 kB / 1.499 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6804, allocations: 47.95 kB / 1.499 GB, free: 14.96 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007748/0.6812, allocations: 495 kB / 1.499 GB, free: 14.48 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6812, allocations: 0 / 1.499 GB, free: 14.48 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001254/0.6824, allocations: 403 kB / 1.5 GB, free: 14.09 MB / 1.201 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.006828/0.6893, allocations: 2.645 MB / 1.502 GB, free: 11.63 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003946/0.6932, allocations: 1.304 MB / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6932, allocations: 0 / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.6953, allocations: 0.7733 MB / 1.504 GB, free: 9.527 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.6969, allocations: 320.3 kB / 1.505 GB, free: 9.234 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/0.7156, allocations: 8.307 MB / 1.513 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.7162, allocations: 0.5021 MB / 1.513 GB, free: 248 kB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001584/0.7178, allocations: 351.9 kB / 1.514 GB, free: 15.89 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000922/0.7187, allocations: 467.2 kB / 1.514 GB, free: 15.44 MB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/0.7187, allocations: 0 / 1.514 GB, free: 15.44 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07351/0.7922, allocations: 27.74 MB / 1.541 GB, free: 4.043 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.79, allocations: 15.42 kB / 1.541 GB, free: 4.031 MB / 1.232 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: 22.5747199957259]