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.001759/0.001759, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.00206/0.00206, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.801 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.48/3.48, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] 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.002078/0.002078, allocations: 66.17 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3574, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.008294/0.3657, allocations: 4.43 MB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1686/0.5342, allocations: 132.7 MB / 1.497 GB, free: 4.52 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009282/0.5352, allocations: 27.75 kB / 1.497 GB, free: 4.492 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008396/0.536, allocations: 194.2 kB / 1.497 GB, free: 4.301 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.5381, allocations: 0.5657 MB / 1.498 GB, free: 3.734 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.5404, allocations: 0.8501 MB / 1.499 GB, free: 2.891 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.5423, allocations: 1.401 MB / 1.5 GB, free: 1.484 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009377/0.5433, allocations: 393.9 kB / 1.501 GB, free: 1.074 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009466/0.5442, allocations: 0.4984 MB / 1.501 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008465/0.5451, allocations: 473.7 kB / 1.502 GB, free: 112 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.5454, allocations: 116 kB / 1.502 GB, free: 15.99 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.5465, allocations: 491.6 kB / 1.502 GB, free: 15.52 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003639/0.5469, allocations: 291.1 kB / 1.502 GB, free: 15.23 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006335/0.5475, allocations: 469.7 kB / 1.503 GB, free: 14.77 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.5504, allocations: 1.685 MB / 1.504 GB, free: 13.08 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5504, allocations: 0 / 1.504 GB, free: 13.08 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5504, allocations: 4 kB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.407e-05/0.5505, allocations: 4 kB / 1.504 GB, free: 13.07 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.003436/0.5539, allocations: 1.413 MB / 1.506 GB, free: 11.62 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.554, allocations: 12.03 kB / 1.506 GB, free: 11.61 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.5541, allocations: 135.4 kB / 1.506 GB, free: 11.47 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.5556, allocations: 236 kB / 1.506 GB, free: 11.24 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.557, allocations: 0.7258 MB / 1.507 GB, free: 10.49 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.5571, allocations: 62 kB / 1.507 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5572, allocations: 83.98 kB / 1.507 GB, free: 10.34 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.5589, allocations: 1.162 MB / 1.508 GB, free: 9.082 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.5589, allocations: 0 / 1.508 GB, free: 9.082 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.559, allocations: 40 kB / 1.508 GB, free: 9.043 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.559, allocations: 20 kB / 1.508 GB, free: 9.023 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.5608, allocations: 1.057 MB / 1.509 GB, free: 7.965 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004122/0.5649, allocations: 2.212 MB / 1.511 GB, free: 5.688 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.5665, allocations: 0.7493 MB / 1.512 GB, free: 4.934 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.5671, allocations: 274.7 kB / 1.512 GB, free: 4.664 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.107e-05/0.5672, allocations: 24.62 kB / 1.512 GB, free: 4.641 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.5682, allocations: 0.5839 MB / 1.513 GB, free: 4.012 MB / 1.201 GB Notification: Performance of pre-optimization done (n=80): time 3.426e-06/0.5682, allocations: 4 kB / 1.513 GB, free: 4.008 MB / 1.201 GB Notification: Performance of matching and sorting (n=80): time 0.003311/0.5715, allocations: 1.127 MB / 1.514 GB, free: 2.871 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.5716, allocations: 192.6 kB / 1.514 GB, free: 2.641 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.5727, allocations: 0.6644 MB / 1.515 GB, free: 1.965 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.5728, allocations: 41.7 kB / 1.515 GB, free: 1.918 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.5732, allocations: 405 kB / 1.515 GB, free: 1.516 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.5735, allocations: 269.7 kB / 1.516 GB, free: 1.25 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.5737, allocations: 150.6 kB / 1.516 GB, free: 1.098 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.5739, allocations: 390.7 kB / 1.516 GB, free: 0.707 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.5744, allocations: 241.9 kB / 1.516 GB, free: 480 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007009/0.5751, allocations: 495.1 kB / 1.517 GB, free: 15.93 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.5763, allocations: 0.5799 MB / 1.517 GB, free: 15.34 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5763, allocations: 0 / 1.517 GB, free: 15.34 MB / 1.217 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001997/0.5783, allocations: 0.8101 MB / 1.518 GB, free: 14.52 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5783, allocations: 4 kB / 1.518 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5783, allocations: 0 / 1.518 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/0.5789, allocations: 92.78 kB / 1.518 GB, free: 14.42 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.5795, allocations: 155.8 kB / 1.518 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.5817, allocations: 1.519 MB / 1.52 GB, free: 12.63 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/0.5824, allocations: 91.5 kB / 1.52 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.5825, allocations: 31.97 kB / 1.52 GB, free: 12.51 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.0004687/0.5829, allocations: 261.6 kB / 1.52 GB, free: 12.25 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.5831, allocations: 91.5 kB / 1.52 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.5855, allocations: 1.054 MB / 1.521 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.5855, allocations: 8 kB / 1.521 GB, free: 11.08 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5855, allocations: 7.938 kB / 1.521 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5855, allocations: 7.984 kB / 1.521 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5866, allocations: 0.7545 MB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5866, allocations: 0 / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.5871, allocations: 139.8 kB / 1.522 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/0.5876, allocations: 76.78 kB / 1.522 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.5877, allocations: 27.97 kB / 1.522 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.5896, allocations: 1.551 MB / 1.524 GB, free: 8.355 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5896, allocations: 0 / 1.524 GB, free: 8.355 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.5916, allocations: 0.9284 MB / 1.525 GB, free: 7.406 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.5921, allocations: 211 kB / 1.525 GB, free: 7.199 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.5923, allocations: 27.92 kB / 1.525 GB, free: 7.172 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005996/0.5929, allocations: 58.12 kB / 1.525 GB, free: 7.117 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.593, allocations: 88.73 kB / 1.525 GB, free: 7.027 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.5931, allocations: 35.97 kB / 1.525 GB, free: 6.992 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000698/0.5938, allocations: 471 kB / 1.526 GB, free: 6.535 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5938, allocations: 4 kB / 1.526 GB, free: 6.531 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009818/0.5948, allocations: 319.2 kB / 1.526 GB, free: 6.219 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.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.004565/0.5993, allocations: 2.006 MB / 1.528 GB, free: 4.395 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.6011, allocations: 0.7727 MB / 1.529 GB, free: 3.609 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.6011, allocations: 7.938 kB / 1.529 GB, free: 3.602 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009489/0.602, allocations: 492.2 kB / 1.529 GB, free: 3.113 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.6034, allocations: 304.8 kB / 1.53 GB, free: 2.836 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.6144, allocations: 6.224 MB / 1.536 GB, free: 12.45 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.6149, allocations: 439.8 kB / 1.536 GB, free: 11.99 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008918/0.6158, allocations: 258.8 kB / 1.536 GB, free: 11.73 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005783/0.6164, allocations: 387.3 kB / 1.537 GB, free: 11.35 MB / 1.232 GB Notification: Performance of SimCode: time 1.223e-06/0.6164, allocations: 4 kB / 1.537 GB, free: 11.35 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08203/0.6984, allocations: 23.4 MB / 1.559 GB, free: 4.289 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.45, allocations: 1.125 kB / 1.559 GB, free: 4.289 MB / 1.248 GB " [Timeout remaining time 285] (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: 21.91323155676946]