Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001734/0.001734, allocations: 107 kB / 16.45 MB, free: 6.453 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.002074/0.002074, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.386/1.386, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.089/3.089, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_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.001926/0.001926, allocations: 71.94 kB / 1.172 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3637, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007531/0.3712, allocations: 4.915 MB / 1.353 GB, free: 5.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1854/0.5566, allocations: 154 MB / 1.503 GB, free: 10.5 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009196/0.5575, allocations: 27.75 kB / 1.503 GB, free: 10.47 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007964/0.5583, allocations: 194.2 kB / 1.503 GB, free: 10.28 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.5604, allocations: 0.5575 MB / 1.504 GB, free: 9.719 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.5627, allocations: 0.8624 MB / 1.505 GB, free: 8.863 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002/0.5647, allocations: 1.394 MB / 1.506 GB, free: 7.461 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009172/0.5656, allocations: 421.3 kB / 1.506 GB, free: 7.023 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000919/0.5665, allocations: 0.5023 MB / 1.507 GB, free: 6.52 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008071/0.5673, allocations: 0.5056 MB / 1.507 GB, free: 6.012 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.5675, allocations: 120 kB / 1.507 GB, free: 5.895 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009731/0.5684, allocations: 0.5035 MB / 1.508 GB, free: 5.391 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.5687, allocations: 303 kB / 1.508 GB, free: 5.094 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005157/0.5692, allocations: 0.5558 MB / 1.509 GB, free: 4.535 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.5712, allocations: 1.689 MB / 1.51 GB, free: 2.84 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5712, allocations: 0 / 1.51 GB, free: 2.84 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5712, allocations: 4 kB / 1.51 GB, free: 2.836 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.5713, allocations: 0 / 1.51 GB, free: 2.836 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002469/0.5737, allocations: 1.479 MB / 1.512 GB, free: 1.305 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5738, allocations: 15.98 kB / 1.512 GB, free: 1.289 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.5739, allocations: 143.3 kB / 1.512 GB, free: 1.141 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.5754, allocations: 228 kB / 1.512 GB, free: 0.918 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.5765, allocations: 0.7824 MB / 1.513 GB, free: 96 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.5765, allocations: 62 kB / 1.513 GB, free: 32 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.5767, allocations: 80.05 kB / 1.513 GB, free: 15.95 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.5782, allocations: 0.9144 MB / 1.514 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.5782, allocations: 0 / 1.514 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.5783, allocations: 40 kB / 1.514 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.5783, allocations: 27.94 kB / 1.514 GB, free: 14.94 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.5801, allocations: 1.1 MB / 1.515 GB, free: 13.83 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/0.5841, allocations: 2.748 MB / 1.518 GB, free: 10.96 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.5856, allocations: 0.7511 MB / 1.519 GB, free: 10.2 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.5861, allocations: 270.7 kB / 1.519 GB, free: 9.934 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/0.5862, allocations: 32.69 kB / 1.519 GB, free: 9.902 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009347/0.5871, allocations: 499.1 kB / 1.519 GB, free: 9.395 MB / 1.217 GB Notification: Performance of pre-optimization done (n=80): time 2.635e-06/0.5871, allocations: 0 / 1.519 GB, free: 9.395 MB / 1.217 GB Notification: Performance of matching and sorting (n=80): time 0.003282/0.5904, allocations: 1.194 MB / 1.52 GB, free: 8.172 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.5905, allocations: 196.6 kB / 1.521 GB, free: 7.938 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009614/0.5915, allocations: 0.6528 MB / 1.521 GB, free: 7.277 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/0.5915, allocations: 41.7 kB / 1.521 GB, free: 7.23 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.5919, allocations: 413 kB / 1.522 GB, free: 6.82 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.5921, allocations: 277.6 kB / 1.522 GB, free: 6.547 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.5924, allocations: 146.6 kB / 1.522 GB, free: 6.398 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.5926, allocations: 386.7 kB / 1.522 GB, free: 6.012 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.5931, allocations: 249.9 kB / 1.523 GB, free: 5.766 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/0.5938, allocations: 362.5 kB / 1.523 GB, free: 5.387 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.595, allocations: 0.5838 MB / 1.524 GB, free: 4.793 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.595, allocations: 4 kB / 1.524 GB, free: 4.789 MB / 1.217 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002233/0.5973, allocations: 0.8062 MB / 1.524 GB, free: 3.973 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.5973, allocations: 5.875 kB / 1.524 GB, free: 3.969 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5973, allocations: 7.984 kB / 1.524 GB, free: 3.961 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.5979, allocations: 88.77 kB / 1.525 GB, free: 3.871 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/0.5985, allocations: 147.8 kB / 1.525 GB, free: 3.727 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.6008, allocations: 1.632 MB / 1.526 GB, free: 1.949 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006954/0.6015, allocations: 87.58 kB / 1.526 GB, free: 1.863 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.6016, allocations: 31.98 kB / 1.526 GB, free: 1.832 MB / 1.217 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.000483/0.602, allocations: 265.7 kB / 1.527 GB, free: 1.562 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.6023, allocations: 87.44 kB / 1.527 GB, free: 1.477 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.6047, allocations: 1.066 MB / 1.528 GB, free: 404 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.6047, allocations: 8 kB / 1.528 GB, free: 396 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6047, allocations: 7.938 kB / 1.528 GB, free: 388 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.6047, allocations: 3.984 kB / 1.528 GB, free: 384 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.606, allocations: 0.9037 MB / 1.529 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.606, allocations: 0 / 1.529 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.6066, allocations: 139.8 kB / 1.529 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/0.607, allocations: 76.78 kB / 1.529 GB, free: 15.21 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.6071, allocations: 27.97 kB / 1.529 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.6091, allocations: 1.666 MB / 1.53 GB, free: 13.37 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6091, allocations: 0 / 1.53 GB, free: 13.37 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.6111, allocations: 0.9283 MB / 1.531 GB, free: 12.42 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.6116, allocations: 276.2 kB / 1.532 GB, free: 12.13 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.6117, allocations: 24 kB / 1.532 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/0.6124, allocations: 63.92 kB / 1.532 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.6125, allocations: 80.72 kB / 1.532 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.6126, allocations: 35.97 kB / 1.532 GB, free: 11.93 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006706/0.6133, allocations: 475 kB / 1.532 GB, free: 11.46 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6133, allocations: 0 / 1.532 GB, free: 11.46 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008731/0.6141, allocations: 323.2 kB / 1.533 GB, free: 11.15 MB / 1.232 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.00428/0.6184, allocations: 1.98 MB / 1.535 GB, free: 9.32 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.6203, allocations: 0.7767 MB / 1.535 GB, free: 8.531 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6204, allocations: 3.938 kB / 1.535 GB, free: 8.527 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.6214, allocations: 488.2 kB / 1.536 GB, free: 8.043 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.6229, allocations: 299 kB / 1.536 GB, free: 7.773 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.635, allocations: 6.236 MB / 1.542 GB, free: 1.383 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/0.6358, allocations: 1.023 MB / 1.543 GB, free: 340 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008818/0.6367, allocations: 258.8 kB / 1.543 GB, free: 76 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006435/0.6373, allocations: 387.3 kB / 1.544 GB, free: 15.7 MB / 1.248 GB Notification: Performance of SimCode: time 7.52e-07/0.6373, allocations: 0 / 1.544 GB, free: 15.7 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06604/0.7034, allocations: 21.9 MB / 1.565 GB, free: 10.12 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.46, allocations: 7.797 kB / 1.565 GB, free: 10.12 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_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_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.31841887603514]