Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.00173/0.00173, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002168/0.002168, allocations: 208.4 kB / 22.25 MB, free: 5.137 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.961 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.171/3.171, allocations: 0.49 GB / 0.7951 GB, free: 33.35 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.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.001911/0.001911, allocations: 72.7 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3517, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007294/0.359, allocations: 4.937 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1948/0.5538, allocations: 154.1 MB / 1.481 GB, free: 2.258 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.5549, allocations: 23.81 kB / 1.481 GB, free: 2.234 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.5556, allocations: 198.2 kB / 1.481 GB, free: 2.039 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.5576, allocations: 0.5483 MB / 1.482 GB, free: 1.492 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.5598, allocations: 0.8826 MB / 1.483 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.5617, allocations: 1.409 MB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007547/0.5624, allocations: 406 kB / 1.485 GB, free: 14.78 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007624/0.5632, allocations: 0.4983 MB / 1.485 GB, free: 14.28 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.5639, allocations: 0.5108 MB / 1.486 GB, free: 13.77 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.564, allocations: 119.9 kB / 1.486 GB, free: 13.65 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.5651, allocations: 0.5074 MB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.5654, allocations: 303 kB / 1.486 GB, free: 12.85 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.5659, allocations: 0.5713 MB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.5682, allocations: 1.677 MB / 1.489 GB, free: 10.59 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5682, allocations: 0 / 1.489 GB, free: 10.59 MB / 1.186 GB Notification: Performance of FrontEnd: time 5.09e-06/0.5682, allocations: 3.984 kB / 1.489 GB, free: 10.59 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.5682, allocations: 0 / 1.489 GB, free: 10.59 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002818/0.571, allocations: 1.411 MB / 1.49 GB, free: 9.141 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.5711, allocations: 8.031 kB / 1.49 GB, free: 9.133 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/0.5713, allocations: 135.4 kB / 1.49 GB, free: 8.992 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.5728, allocations: 236 kB / 1.49 GB, free: 8.762 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.5742, allocations: 0.718 MB / 1.491 GB, free: 8.016 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/0.5743, allocations: 66 kB / 1.491 GB, free: 7.949 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.5744, allocations: 80 kB / 1.491 GB, free: 7.871 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.576, allocations: 0.9145 MB / 1.492 GB, free: 6.918 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.576, allocations: 3.938 kB / 1.492 GB, free: 6.914 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.5761, allocations: 36 kB / 1.492 GB, free: 6.879 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.5761, allocations: 20 kB / 1.492 GB, free: 6.859 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.5779, allocations: 1.097 MB / 1.493 GB, free: 5.758 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/0.5822, allocations: 2.69 MB / 1.496 GB, free: 2.941 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.5837, allocations: 0.7549 MB / 1.497 GB, free: 2.18 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.5842, allocations: 282.6 kB / 1.497 GB, free: 1.902 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-05/0.5843, allocations: 28.69 kB / 1.497 GB, free: 1.875 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009014/0.5852, allocations: 495.1 kB / 1.497 GB, free: 1.371 MB / 1.186 GB Notification: Performance of pre-optimization done (n=80): time 2.996e-06/0.5852, allocations: 0 / 1.497 GB, free: 1.371 MB / 1.186 GB Notification: Performance of matching and sorting (n=80): time 0.003327/0.5885, allocations: 1.123 MB / 1.499 GB, free: 244 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.5887, allocations: 196.6 kB / 1.499 GB, free: 4 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009314/0.5896, allocations: 0.649 MB / 1.499 GB, free: 15.35 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.209e-05/0.5897, allocations: 41.7 kB / 1.499 GB, free: 15.3 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.5901, allocations: 413 kB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.5903, allocations: 273.7 kB / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.5906, allocations: 142.6 kB / 1.5 GB, free: 14.48 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.5908, allocations: 394.7 kB / 1.501 GB, free: 14.08 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.5913, allocations: 249.9 kB / 1.501 GB, free: 13.84 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.5919, allocations: 362.5 kB / 1.501 GB, free: 13.46 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.593, allocations: 0.5916 MB / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.593, allocations: 0 / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00198/0.595, allocations: 0.8024 MB / 1.502 GB, free: 12.04 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.595, allocations: 4 kB / 1.502 GB, free: 12.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.595, allocations: 4.062 kB / 1.502 GB, free: 12.03 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006391/0.5957, allocations: 92.7 kB / 1.503 GB, free: 11.94 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.5963, allocations: 147.8 kB / 1.503 GB, free: 11.79 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.5985, allocations: 1.529 MB / 1.504 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/0.5993, allocations: 95.56 kB / 1.504 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.5993, allocations: 31.98 kB / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (87): * Single equations (assignments): 86 * 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.0004824/0.5998, allocations: 261.6 kB / 1.505 GB, free: 9.758 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.6, allocations: 87.44 kB / 1.505 GB, free: 9.672 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.6023, allocations: 1.066 MB / 1.506 GB, free: 8.59 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.6023, allocations: 8 kB / 1.506 GB, free: 8.582 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.6023, allocations: 3.938 kB / 1.506 GB, free: 8.578 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.6024, allocations: 3.984 kB / 1.506 GB, free: 8.574 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.6036, allocations: 0.8754 MB / 1.507 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.6036, allocations: 0 / 1.507 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.6042, allocations: 151.7 kB / 1.507 GB, free: 7.508 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.6046, allocations: 72.72 kB / 1.507 GB, free: 7.434 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.6047, allocations: 27.98 kB / 1.507 GB, free: 7.406 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.6067, allocations: 1.559 MB / 1.508 GB, free: 5.727 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6067, allocations: 0 / 1.508 GB, free: 5.727 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.6087, allocations: 0.9283 MB / 1.509 GB, free: 4.777 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/0.6091, allocations: 203.1 kB / 1.509 GB, free: 4.578 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.6093, allocations: 27.98 kB / 1.509 GB, free: 4.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/0.6099, allocations: 57.5 kB / 1.51 GB, free: 4.496 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.61, allocations: 76.8 kB / 1.51 GB, free: 4.418 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.6101, allocations: 35.98 kB / 1.51 GB, free: 4.383 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006146/0.6107, allocations: 475 kB / 1.51 GB, free: 3.922 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6107, allocations: 8 kB / 1.51 GB, free: 3.914 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008389/0.6115, allocations: 319.2 kB / 1.51 GB, free: 3.602 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.004113/0.6157, allocations: 1.986 MB / 1.512 GB, free: 1.77 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.6173, allocations: 0.7765 MB / 1.513 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6173, allocations: 4 kB / 1.513 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009291/0.6182, allocations: 496.4 kB / 1.514 GB, free: 496 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6194, allocations: 295 kB / 1.514 GB, free: 220 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.6302, allocations: 6.22 MB / 1.52 GB, free: 9.836 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.6309, allocations: 1.027 MB / 1.521 GB, free: 8.781 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008804/0.6318, allocations: 266.7 kB / 1.521 GB, free: 8.516 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/0.6324, allocations: 391.3 kB / 1.522 GB, free: 8.133 MB / 1.217 GB Notification: Performance of SimCode: time 8.91e-07/0.6324, allocations: 3.938 kB / 1.522 GB, free: 8.129 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06585/0.6983, allocations: 22.43 MB / 1.543 GB, free: 1.965 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.2, allocations: 10.72 kB / 1.543 GB, free: 1.957 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_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_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.189464256000065]