Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.001829/0.001829, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002496/0.002496, allocations: 214.7 kB / 22.24 MB, free: 4.855 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.785 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.485/3.485, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 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.Examples.DiffusePerez,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.002175/0.002175, allocations: 66.44 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3857, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01148/0.3972, allocations: 7.378 MB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1902/0.5874, allocations: 133.9 MB / 1.463 GB, free: 4.547 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.5897, allocations: 35.75 kB / 1.463 GB, free: 4.512 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.5914, allocations: 328.6 kB / 1.463 GB, free: 4.188 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.5958, allocations: 0.8834 MB / 1.464 GB, free: 3.305 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.6, allocations: 1.395 MB / 1.466 GB, free: 1.914 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004938/0.605, allocations: 3.01 MB / 1.469 GB, free: 14.89 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.6075, allocations: 0.9773 MB / 1.469 GB, free: 13.86 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.6101, allocations: 1.254 MB / 1.471 GB, free: 12.6 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.6128, allocations: 1.202 MB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.6138, allocations: 328 kB / 1.472 GB, free: 11.07 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.6162, allocations: 0.7105 MB / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.6175, allocations: 0.701 MB / 1.474 GB, free: 9.656 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.6199, allocations: 1.108 MB / 1.475 GB, free: 8.543 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006173/0.6261, allocations: 3.744 MB / 1.478 GB, free: 4.785 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6261, allocations: 0 / 1.478 GB, free: 4.785 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6261, allocations: 3.938 kB / 1.478 GB, free: 4.781 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001407/0.6262, allocations: 0 / 1.478 GB, free: 4.781 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.008768/0.635, allocations: 2.849 MB / 1.481 GB, free: 1.871 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/0.6351, allocations: 16.02 kB / 1.481 GB, free: 1.855 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008105/0.6359, allocations: 312.9 kB / 1.481 GB, free: 1.539 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/0.6547, allocations: 2.316 MB / 1.484 GB, free: 15.22 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.6585, allocations: 1.234 MB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.6588, allocations: 172.5 kB / 1.485 GB, free: 13.78 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009791/0.6597, allocations: 216 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.6708, allocations: 3.533 MB / 1.489 GB, free: 9.879 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-05/0.6708, allocations: 0 / 1.489 GB, free: 9.879 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.6711, allocations: 92 kB / 1.489 GB, free: 9.789 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/0.6712, allocations: 59.98 kB / 1.489 GB, free: 9.73 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.6848, allocations: 4.143 MB / 1.493 GB, free: 5.57 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01953/0.7044, allocations: 6.428 MB / 1.499 GB, free: 15.05 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.7146, allocations: 2.713 MB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004821/0.7194, allocations: 1.352 MB / 1.503 GB, free: 10.96 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006441/0.7201, allocations: 113.9 kB / 1.503 GB, free: 10.86 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006348/0.7264, allocations: 1.94 MB / 1.505 GB, free: 8.871 MB / 1.201 GB Notification: Performance of pre-optimization done (n=213): time 6.031e-06/0.7264, allocations: 0 / 1.505 GB, free: 8.871 MB / 1.201 GB Notification: Performance of matching and sorting (n=213): time 0.01771/0.7441, allocations: 4.403 MB / 1.509 GB, free: 4.461 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.7443, allocations: 205.9 kB / 1.51 GB, free: 4.215 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.7464, allocations: 0.9774 MB / 1.511 GB, free: 3.219 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005533/0.7469, allocations: 65.7 kB / 1.511 GB, free: 3.148 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008248/0.7477, allocations: 0.7679 MB / 1.511 GB, free: 2.371 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.7489, allocations: 0.7168 MB / 1.512 GB, free: 1.648 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.75, allocations: 375.3 kB / 1.512 GB, free: 1.277 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7501, allocations: 305.1 kB / 1.513 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/0.7548, allocations: 1.241 MB / 1.514 GB, free: 15.73 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005487/0.7602, allocations: 1.562 MB / 1.515 GB, free: 14.1 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/0.7706, allocations: 2.579 MB / 1.518 GB, free: 11.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.7706, allocations: 0 / 1.518 GB, free: 11.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01193/0.7825, allocations: 3.086 MB / 1.521 GB, free: 8.406 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.7826, allocations: 16 kB / 1.521 GB, free: 8.391 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.7826, allocations: 3.938 kB / 1.521 GB, free: 8.387 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.7832, allocations: 80.78 kB / 1.521 GB, free: 8.305 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/0.7872, allocations: 0.6006 MB / 1.522 GB, free: 7.703 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.7896, allocations: 1.527 MB / 1.523 GB, free: 6.059 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/0.7931, allocations: 366.5 kB / 1.524 GB, free: 5.699 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004279/0.7935, allocations: 95.89 kB / 1.524 GB, free: 5.605 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.001468/0.795, allocations: 436.6 kB / 1.524 GB, free: 5.168 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/0.7957, allocations: 162.9 kB / 1.524 GB, free: 5.008 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.8088, allocations: 3.724 MB / 1.528 GB, free: 1.266 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.8089, allocations: 20 kB / 1.528 GB, free: 1.246 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8089, allocations: 0 / 1.528 GB, free: 1.246 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-05/0.8089, allocations: 11.95 kB / 1.528 GB, free: 1.234 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.8128, allocations: 1.999 MB / 1.53 GB, free: 15.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/0.8128, allocations: 3.938 kB / 1.53 GB, free: 15.19 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003815/0.8166, allocations: 0.5616 MB / 1.53 GB, free: 14.63 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/0.8171, allocations: 84.77 kB / 1.53 GB, free: 14.54 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000418/0.8176, allocations: 71.91 kB / 1.531 GB, free: 14.47 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.8198, allocations: 1.543 MB / 1.532 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8198, allocations: 0 / 1.532 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.8322, allocations: 3.219 MB / 1.535 GB, free: 9.562 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/0.834, allocations: 495.9 kB / 1.536 GB, free: 9.078 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006308/0.8347, allocations: 51.92 kB / 1.536 GB, free: 9.027 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003305/0.838, allocations: 271.7 kB / 1.536 GB, free: 8.762 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004449/0.8384, allocations: 157.7 kB / 1.536 GB, free: 8.609 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003387/0.8388, allocations: 91.91 kB / 1.536 GB, free: 8.52 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001342/0.8401, allocations: 0.7198 MB / 1.537 GB, free: 7.793 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8401, allocations: 0 / 1.537 GB, free: 7.793 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002419/0.8425, allocations: 0.6819 MB / 1.538 GB, free: 7.109 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0132/0.8557, allocations: 4.378 MB / 1.542 GB, free: 2.914 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01084/0.8665, allocations: 3.006 MB / 1.545 GB, free: 15.89 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.8666, allocations: 3.984 kB / 1.545 GB, free: 15.89 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005695/0.8722, allocations: 1.618 MB / 1.546 GB, free: 14.26 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.8746, allocations: 399.1 kB / 1.547 GB, free: 13.89 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04419/0.9188, allocations: 15.97 MB / 1.562 GB, free: 13.7 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.9198, allocations: 0.8566 MB / 1.563 GB, free: 12.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.003243/0.9231, allocations: 0.603 MB / 1.564 GB, free: 12.2 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/0.9249, allocations: 0.8818 MB / 1.565 GB, free: 11.31 MB / 1.264 GB Notification: Performance of SimCode: time 1.292e-06/0.9249, allocations: 0 / 1.565 GB, free: 11.31 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9045/1.829, allocations: 45.98 MB / 1.61 GB, free: 277.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/16.64, allocations: 4.719 kB / 1.61 GB, free: 277.6 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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: 24.28878631768748]